http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Bug #: 55943 Summary: ICE in gen_reg_rtx Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: sch...@linux-m68k.org Target: ia64-*-* Created attachment 29150 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29150 Testcase $ gcc-20130111/Build/gcc/xgcc -B gcc-20130111/Build/gcc/ -S gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c: In function ‘foo’: gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c:21:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:866 } ^ 0x400000000040012f gen_reg_rtx(machine_mode) ../../gcc/emit-rtl.c:866 0x4000000000432f1f store_bit_field_1 ../../gcc/expmed.c:776 0x4000000000433b9f store_bit_field(rtx_def*, unsigned long, unsigned long, unsigned long, unsigned long, machine_mode, rtx_def*) ../../gcc/expmed.c:897 0x400000000045f40f write_complex_part ../../gcc/expr.c:2960 0x400000000045f6bf emit_move_complex_parts(rtx_def*, rtx_def*) ../../gcc/expr.c:3216 0x4000000000718dff gen_move_insn(rtx_def*, rtx_def*) ../../gcc/optabs.c:4783 0x40000000007f752f gen_reload ../../gcc/reload1.c:8705 0x40000000008077af emit_input_reload_insns ../../gcc/reload1.c:7591 0x40000000008077af do_input_reload ../../gcc/reload1.c:7877 0x40000000008077af emit_reload_insns ../../gcc/reload1.c:8069 0x40000000008077af reload_as_needed ../../gcc/reload1.c:4645 0x4000000000811f2f reload(rtx_def*, int) ../../gcc/reload1.c:1051 0x4000000000604caf do_reload ../../gcc/ira.c:4635 0x4000000000604caf rest_of_handle_reload ../../gcc/ira.c:4736 Note that this is the original version of pr55921.c with the matching constraints.