GCC generating invalid assembly
Dan Kegel
dank@kegel.com
Mon Mar 7 00:34:00 GMT 2005
sam124@operamail.com wrote:
> I compiled unexec.c from Emacs 21.3 with -O2, and I got the
> error from GNU as on line 1498:
>
> Fatal error: C_EFCN symbol out of scope
>
> I'm on the x86. This only happens if all three of the
> following are satisfied
>
> 1) -gcoff debugging information is being generated
> 2) -funit-at-a-time is on
> 3) -O is on
>
> Turning off -O caused it to work fine. Turning off
> -funit-at-a-time caused it to work fine. Using a diffrent
> debugging information format caused it to work fine.
You forgot to say which version of gcc.
Is this maybe http://gcc.gnu.org/PR9963 ?
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
More information about the Gcc
mailing list