This is the mail archive of the gcc-bugs@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]

[Bug target/43437] ICE in CSE, during libgcc build


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43437

Thorsten Glaser <tg at mirbsd dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tg at mirbsd dot org

--- Comment #12 from Thorsten Glaser <tg at mirbsd dot org> 2011-12-18 22:00:28 UTC ---
Indeed. Compiling the file (renamed to x.i) with

â gcc -O2 -c x.i
  â fails with the same error

â gcc -O2 -c -fPIC x.i
  â succeeds.

Note that -O2 is needed, otherwise it wonât compile at all (apparently some bug
when something is not inlined in the original source, didnât investigate).


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