• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Internal compiler error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internal compiler error


  • Subject: Internal compiler error
  • From: Tomas Zahradnicky <email@hidden>
  • Date: Sun, 28 Nov 2004 10:21:48 +0100

Hi,

I'm moving my scientific project to Xcode from CW and am unable to move my fast square root assembly code. I always get:

  sqrt.c: In function `SQRTBISEC':
  sqrt.c:0: internal compiler error: in emit_move_insn, at expr.c:3156
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://developer.apple.com/bugreporter> for instructions.


My function is:

  static asm double SQRT(register double d)
  {
   // low table address
      lis         r3,ha16(TABLE)
      addi        r3,r3,lo16(TABLE)

      ...

      blr
  }

The gcc command line is:

  gcc sqrt.c -o sqrt -fasm-blocks -g



What am I doing wrong? I still have Xcode tools 1.2 and gcc version 3.3 20030304 (Apple Computer, Inc. build 1640) since I've heard that Xcode 1.5 update is buggy.

Do I have to update to 1.5 or make my square root .s file?

Thanks,

  Tomas
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Internal compiler error
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Altivec code in a QuickTime code bundle
  • Next by Date: Re: XCode compile options
  • Previous by thread: Re: Altivec code in a QuickTime code bundle
  • Next by thread: Re: Internal compiler error
  • Index(es):
    • Date
    • Thread