http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51068
Bug #: 51068 Summary: 4.7 Regression] ARM bootstrap failure due to ICE in rtl_verify_flow_info_1 at cfgrtl.c:2001 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: michael.h...@linaro.org trunk r181189 fails during stage1-target-libstdc++-v3 with the following error: libtool: compile: "/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/./gcc/xgcc" -shared-libgcc "-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/./gcc" -nostdinc++ "-L/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src" "-L/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs" "-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/bin/" "-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/lib/" -isystem "/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/include" -isystem "/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/sys-include" "-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/gcc-4.7~/libstdc++-v3/../libgcc" "-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi" "-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include" "-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/gcc-4.7~/libstdc++-v3/libsupc++" -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=new_opvnt.lo -g -O2 -D_GNU_SOURCE -c "../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opvnt.cc" -fPIC -DPIC -o new_opvnt.o ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc: In function 'void* operator new [](std::size_t)': ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: missing REG_EH_REGION note in the end of bb 2 ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: call edges for non-call insn in bb 2 ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: in basic block 2: ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: flow control insn inside a basic block (call_insn 7 3 63 2 (parallel [ (set (reg:SI 0 r0) (call (mem:SI (symbol_ref:SI ("_Znwj") [flags 0x41] <function_decl 0x2ae54280 operator new>) [0 operator new S4 A32]) (const_int 0 [0]))) (use (const_int 0 [0])) (clobber (reg:SI 14 lr)) ]) ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:33 248 {*call_value_symbol} (expr_list:REG_EH_REGION (const_int 1 [0x1]) (nil)) (expr_list:REG_CFA_WINDOW_SAVE (use (reg:SI 0 r0)) (nil))) ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: internal compiler error: in rtl_verify_flow_info_1, at cfgrtl.c:2001 This happens on ARM in an ARMv5 configuration and Cortex-A9 configuration. The full build log is here: http://builds.linaro.org/toolchain/gcc-4.7~svn181189/logs/armv7l-natty-cbuild205-tcpanda01-cortexa9r1/gcc-build.txt The Cortex-A9 configure flags are: --prefix=/scratch/cbuild/slave/slaves/tcpanda04/gcc-4.7~svn180460/gcc/default/install --enable-languages=c,c++,objc,obj-c++,fortran,lto --with-mode=thumb --with-arch=armv7-a --with-tune=cortex-a9 --with-float=softfp --with-fpu=neon More information about the host is here: http://builds.linaro.org/toolchain/gcc-4.7~svn181189/logs/armv7l-natty-cbuild205-tcpanda01-cortexa9r1/host.txt r181070 was OK so the problem has occurred since then.