http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60868
Bug ID: 60868 Summary: [4.9/4.10 Regression] ICE: in int_mode_for_mode, at stor-layout.c:400 with -minline-all-stringops -minline-stringops-dynamically -march=core2 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 32623 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32623&action=edit reduced testcase Compiler output: $ gcc -minline-all-stringops -minline-stringops-dynamically -march=core2 testcase.ctestcase.c: In function 'foo': testcase.c:5:9: internal compiler error: in int_mode_for_mode, at stor-layout.c:400 float b[256] = {0}; ^ 0xb2fa03 int_mode_for_mode(machine_mode) /mnt/svn/gcc-trunk/gcc/stor-layout.c:400 0x84844e emit_move_via_integer /mnt/svn/gcc-trunk/gcc/expr.c:3202 0x8562e6 emit_move_insn_1(rtx_def*, rtx_def*) /mnt/svn/gcc-trunk/gcc/expr.c:3582 0x856688 emit_move_insn(rtx_def*, rtx_def*) /mnt/svn/gcc-trunk/gcc/expr.c:3649 0x835ac1 force_reg /mnt/svn/gcc-trunk/gcc/explow.c:679 0xa31fdb emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, rtx_def*, int) /mnt/svn/gcc-trunk/gcc/optabs.c:4339 0xe0f65f ix86_expand_set_or_movmem(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, bool) /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:24387 0xeddd2e gen_setmemsi(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) /mnt/svn/gcc-trunk/gcc/config/i386/i386.md:15538 0xa35af2 insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) const /mnt/svn/gcc-trunk/gcc/recog.h:291 0xa35af2 maybe_gen_insn(insn_code, unsigned int, expand_operand*) /mnt/svn/gcc-trunk/gcc/optabs.c:8322 0xa36128 maybe_expand_insn(insn_code, unsigned int, expand_operand*) /mnt/svn/gcc-trunk/gcc/optabs.c:8334 0x84ac76 set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) /mnt/svn/gcc-trunk/gcc/expr.c:3011 0x85d7bd clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) /mnt/svn/gcc-trunk/gcc/expr.c:2820 0x85da38 clear_storage(rtx_def*, rtx_def*, block_op_methods) /mnt/svn/gcc-trunk/gcc/expr.c:2841 0x86b164 expand_constructor /mnt/svn/gcc-trunk/gcc/expr.c:7818 0x850a5d expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /mnt/svn/gcc-trunk/gcc/expr.c:9663 0x85f5e7 store_expr(tree_node*, rtx_def*, int, bool) /mnt/svn/gcc-trunk/gcc/expr.c:5336 0x866951 expand_assignment(tree_node*, tree_node*, bool) /mnt/svn/gcc-trunk/gcc/expr.c:4982 0x7571bc expand_gimple_stmt_1 /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3212 0x7571bc expand_gimple_stmt /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-209445-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-209445-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.10.0 20140416 (experimental) (GCC) Tested revisions: r209445 - ICE 4.9 r209346 - ICE 4.8 r209342 - OK