Current mainline GCC ICEs when compiling attached testcase: g++ -O2 037.cpp
037.cpp: In function void unix_parse_conf_file(FILE*, const char*, bool): 037.cpp:58: error: insn does not satisfy its constraints: (insn 50 45 10 2 (set (reg/f:DI 54 virtual-stack-vars) (reg:DI 0 ax)) 82 {*movdi_1_rex64} (nil)) 037.cpp:58: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 Please submit a full bug report, This invalid RTL is created by new init-regs pass, trying to initialize virtual-stack-vars: (insn 45 6 9 2 (set (reg/f:DI 54 virtual-stack-vars) (const_int 0 [0x0])) -1 (nil)) (insn 9 45 10 2 037.cpp:50 (clobber (mem/s/c:BLK (plus:DI (reg/f:DI 54 virtual-stack-vars) (const_int -16 [0xfffffffffffffff0])) [4 A128])) -1 (nil)) -- Summary: dataflow bug: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triplet: x86_64-pc-gnu-linux GCC host triplet: x86_64-pc-gnu-linux GCC target triplet: x86_64-pc-gnu-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32374