[Bug 907796] gcc: internal compiler error
http://bugzilla.novell.com/show_bug.cgi?id=907796 --- Comment #3 from Richard Biener <rguenther@suse.com> --- Ok, so this is triggered by -fstack-protector and the patch we have on the branch for its support. gen/wxe_funcs.cpp:31754:2: internal compiler error: in gen_add2_insn, at optabs.c:4713 0x9f8f8b gen_add2_insn(rtx_def*, rtx_def*) /space/rguenther/src/svn/gcc-4_8-branch/gcc/optabs.c:4713 0xa4ce68 gen_reload /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:8638 0x522640 emit_input_reload_insns /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:7594 0x522640 do_input_reload /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:7880 0x522640 emit_reload_insns /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:8072 0x522640 reload_as_needed /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:4648 0xa51dcf reload(rtx_def*, int) /space/rguenther/src/svn/gcc-4_8-branch/gcc/reload1.c:1054 0x983c1b do_reload /space/rguenther/src/svn/gcc-4_8-branch/gcc/ira.c:4679 0x983c1b rest_of_handle_reload /space/rguenther/src/svn/gcc-4_8-branch/gcc/ira.c:4791 it also needs reload (the 4.9 branch uses LRA by default but still supports reload via -mno-lra which is where the 4.9 branch shows the same bug, on trunk -mno-lra runs into walls way earlier). It runs into the very very fallback /* If that failed, copy the address register to the reload register. Then add the constant to the reload register. */ gcc_assert (!reg_overlap_mentioned_p (out, op0)); gen_reload (out, op1, opnum, type); insn = emit_insn (gen_add2_insn (out, op0)); set_dst_reg_note (insn, REG_EQUIV, in, out); trying to get a (plus (reg:DI 8 x8) (mem/u/c:DI (symbol_ref/u:DI ("*.LC207") [flags 0x2]) [0 S8 A64])) generated which is exactly 'in' (thus what we wanted to reload). Micha? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com