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

            Bug ID: 59542
           Summary: [4.9 Regression] ICE: verify_flow_info failed during
                    Firefox build with 'gold'
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org

Firefox LTO/PGO build fails when using the gold linker.

The testcase is too big to attach.

 % wget trippelsdorf.de/testcase.tar.bz2
 % tar xvjf testcase.tar.bz2
 % g++ -fuse-ld=gold -w -nostdlib -r -flto=4 -fprofile-use -fprofile-correction
-march=amdfam10 -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pipe
-O3 Unified_cpp_7.ii Unified_cpp_8.ii

/var/tmp/mozilla-central/js/src/vm/Interpreter.cpp: In function ‘Interpret’:
/var/tmp/mozilla-central/js/src/vm/Interpreter.cpp:3469:1: error: non-cold
basic block 39 dominated by a block in the cold partition (2517)
 }
 ^
/var/tmp/mozilla-central/js/src/vm/Interpreter.cpp:3469:1: internal compiler
error: verify_flow_info failed
0x5a1ecd verify_flow_info()
        ../../gcc/gcc/cfghooks.c:260
0x5b4ee2 cfg_layout_finalize()
        ../../gcc/gcc/cfgrtl.c:4286
0xd44662 duplicate_computed_gotos
        ../../gcc/gcc/bb-reorder.c:2492
0xd44662 execute
        ../../gcc/gcc/bb-reorder.c:2524
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/tmp/ccvLwfUA.ltrans0.ltrans.o] Error 1

With -fuse-ld=bfd everything works just fine.

Reply via email to