This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

re: GCC generating invalid assembly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]