This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
re: GCC generating invalid assembly
- From: Dan Kegel <dank at kegel dot com>
- To: sam124 at operamail dot com, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Sun, 06 Mar 2005 15:39:12 -0800
- Subject: 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