Re: Internal compiler error
Re: Internal compiler error
- Subject: Re: Internal compiler error
- From: Scott Tooker <email@hidden>
- Date: Tue, 30 Nov 2004 12:52:42 -0800
My guess is that you are running into a bug in the CW asm support in
gcc 3.3. I'd move up to Xcode 1.5 and see if the problem reproduces. If
it does, please file a bug.
Scott
On Nov 28, 2004, at 1:21 AM, Tomas Zahradnicky wrote:
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
_______________________________________________
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