[Bug middle-end/55921] [4.6/4.7 Regression] Crash in verify_ssa for asm to side-steps complex pessimization
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 12 02:03:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55921
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2013-01-12 02:03:05 UTC ---
Testsuite fails on hppa64-hp-hpux11.11:
spawn /test/gnu/gcc/objdir64/gcc/xgcc -B/test/gnu/gcc/objdir64/gcc/
-fno-diagnostics-show-caret -O0 -w -c -o pr55921.o
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-tor
ture/compile/pr55921.c
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c: In function
'fo
o':/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c:21:1:
internal compiler error: in gen_reg_rtx, at emit-rtl.c:866
With i686-apple-darwin9 cross, I see:
Breakpoint 1, gen_reg_rtx (mode=SFmode) at ../../gcc/gcc/emit-rtl.c:866
866 gcc_assert (can_create_pseudo_p ());
(gdb) bt
#0 gen_reg_rtx (mode=SFmode) at ../../gcc/gcc/emit-rtl.c:866
#1 0x002cda1a in extract_bit_field_using_extv (extv=0xbfffe8e8,
op0=0x4209e2d0, bitsize=32, bitnum=4294967264, unsignedp=1, target=0x0,
mode=SFmode, tmode=SFmode) at ../../gcc/gcc/expmed.c:1254
#2 0x002d1d63 in extract_bit_field_1 (str_rtx=0x420994b0, bitsize=32,
bitnum=0, unsignedp=1, packedp=false, target=0x0, mode=SFmode, tmode=SFmode,
fallback_p=true) at ../../gcc/gcc/expmed.c:1577
#3 0x002d21d9 in extract_bit_field (str_rtx=0x420994b0, bitsize=32, bitnum=0,
unsignedp=1, packedp=<value temporarily unavailable, due to optimizations>,
target=0x0, mode=SFmode, tmode=SFmode) at ../../gcc/gcc/expmed.c:1658
#4 0x002ec8a1 in read_complex_part (cplx=0x420994b0, imag_p=false) at
../../gcc/gcc/expr.c:3023
#5 0x002f01b2 in emit_move_complex_parts (x=0x1c, y=0x420994b0) at
../../gcc/gcc/expr.c:3216
#6 0x00553138 in get_insns [inlined] () at emit-rtl.h:4783
#7 0x00553138 in gen_move_insn (x=0x420990e0, y=0x420994b0) at
../../gcc/gcc/optabs.c:4784
#8 0x005c4167 in gen_reload (out=0x420990e0, in=0x420994b0, opnum=0,
type=RELOAD_OTHER) at ../../gcc/gcc/reload1.c:8705
#9 0x005c5d07 in emit_output_reload_insns (chain=0x41815268, rl=0xbd0cc0, j=0)
at ../../gcc/gcc/reload1.c:7731
#10 0x005ce813 in emit_reload_insns (chain=0x41815268) at
../../gcc/gcc/reload1.c:8070
#11 0x005d010f in reload_as_needed (live_known=0) at
../../gcc/gcc/reload1.c:4645
#12 0x005d3833 in reload (first=0x4200fa20, global=0) at
../../gcc/gcc/reload1.c:1051
#13 0x004a0461 in rest_of_handle_reload () at ../../gcc/gcc/ira.c:4635
#14 0x00571c33 in execute_one_pass (pass=0xbc7300) at
../../gcc/gcc/passes.c:2333
#15 0x0057215d in execute_pass_list (pass=0xbc7300) at
../../gcc/gcc/passes.c:2381
#16 0x00572170 in execute_pass_list (pass=0xbc93a0) at
../../gcc/gcc/passes.c:2382
#17 0x001e2ba5 in invoke_plugin_callbacks [inlined] () at plugin.h:1640
#18 expand_function (node=0x42095000) at ../../gcc/gcc/cgraphunit.c:1643
#19 0x001e35b3 in output_in_order () at ../../gcc/gcc/cgraphunit.c:1833
#20 0x001e4952 in compile () at ../../gcc/gcc/cgraphunit.c:2037
#21 0x001e4e11 in timevar_pop [inlined] () at timevar.h:2119
#22 0x001e4e11 in finalize_compilation_unit () at
../../gcc/gcc/cgraphunit.c:2121
#23 0x00016c97 in c_write_global_declarations () at
../../gcc/gcc/c/c-decl.c:10118
#24 0x00658495 in compile_file () at ../../gcc/gcc/toplev.c:557
#25 0x0065993c in toplev_main (argc=14, argv=0xbffff3c4) at
../../gcc/gcc/toplev.c:1876
#26 0x009c8e18 in main (argc=14, argv=0xbffff3c4) at ../../gcc/gcc/main.c:36
Current language: auto; currently c++
(gdb) p reload_in_progress
$1 = 1
More information about the Gcc-bugs
mailing list