http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59527
Bug ID: 59527 Summary: [4.9 Regression] ICE: in fixup_reorder_chain, at cfgrtl.c:3739 during PGO Firefox build Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: octoploid at yandex dot com src % /var/tmp/gcc_test/usr/local/bin/g++ -w -r -nostdlib -o js -flto=4 -fprofile-use -fprofile-correction -march=native -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -O3 Unified_cpp_9.ii ... /var/tmp/mozilla-central/js/src/vm/Stack.cpp: In member function ‘operator++’: /var/tmp/mozilla-central/js/src/vm/Stack.cpp:717:1: internal compiler error: in fixup_reorder_chain, at cfgrtl.c:3739 } ^ 0x5b594c fixup_reorder_chain ../../gcc/gcc/cfgrtl.c:3738 0x5b594c cfg_layout_finalize() ../../gcc/gcc/cfgrtl.c:4295 0xd42eb2 duplicate_computed_gotos ../../gcc/gcc/bb-reorder.c:2492 0xd42eb2 execute ../../gcc/gcc/bb-reorder.c:2524 Please submit a full bug report, -fno-reorder-blocks-and-partition fixes the issue. I'm currently reducing this further.