[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Mon Oct 10 18:04:00 GMT 2011


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

--- Comment #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-10-10 18:03:47 UTC ---
(In reply to comment #7)
> I've attached a reduced testcase that reproduces the ICE with the commandline
> g++ -nostdlib -flto -g test.i

This test case doesn't trigger the ICE on x86_64-apple-darwin11...

howarth% g++-fsf-4.7 -nostdlib -flto -g -c test.ii
howarth% 

Note on darwin '-c' is required, else the test case fails with...

howarth% g++-fsf-4.7 -nostdlib -flto -g test.ii
ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib
ld: entry point (start) undefined.  Usually in crt1.o for architecture x86_64
collect2: error: ld returned 1 exit status



More information about the Gcc-bugs mailing list