http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59265
--- Comment #15 from Markus Trippelsdorf <octoploid at yandex dot com> --- (In reply to Jan Hubicka from comment #14) > Fixed. Thank you for testing it. The Firefox ICE > Seems to fix Mozilla build untill the next (unrelated) ICE: > > /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, > > is apparently related to Tereza's patch enabling > -freroder-blocks-and-partition (and -fno-reorder-blocks-and-partition should > be a workaround). Can you, please, open a new PR for it, if not reported > already? PR59527. It looks like the fixes for this bug may be buggy, because with -fno-reorder-blocks-and-partition I get: Executing: c++ -o js -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -flto=4 -fprofile-use -fprofile-correction -fno-reorder-blocks-and-partition -march=native -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer /var/tmp/moz-build-dir/js/src/shell/tmpD2q9gU.list -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/var/tmp/moz-build-dir/dist/lib -L../../../dist/bin -L../../../dist/lib -L/var/tmp/moz-build-dir/dist/lib -lnspr4 -lplc4 -lplds4 ../libjs_static.a -lz -Wl,--whole-archive ../../../dist/lib/libmozglue.a -Wl,--no-whole-archive -rdynamic -lm -ldl -lffi /var/tmp/moz-build-dir/js/src/shell/tmpD2q9gU.list: INPUT("Unified_cpp_shell0.o") INPUT("../editline/Unified_c_editline0.o") In member function ‘extractBetween’: lto1: fatal error: Cgraph edge statement index out of range compilation terminated.