This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43437] ICE in CSE, during libgcc build
- From: "tg at mirbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Dec 2011 22:00:28 +0000
- Subject: [Bug target/43437] ICE in CSE, during libgcc build
- Auto-submitted: auto-generated
- References: <bug-43437-4@http.gcc.gnu.org/bugzilla/>
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).