public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61060] New: [4.9/4.10 Regression] ICE: in int_mode_for_mode, at stor-layout.c:400 with -free-ter
@ 2014-05-04 19:48 zsojka at seznam dot cz
  2014-05-05  9:14 ` [Bug target/61060] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2014-05-04 19:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61060

            Bug ID: 61060
           Summary: [4.9/4.10 Regression] ICE: in int_mode_for_mode, at
                    stor-layout.c:400 with -free-ter
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 32733
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32733&action=edit
reduced testcase

Compiler output:
$ gcc -ftree-ter testcase.c 
testcase.c: In function 'foo':
testcase.c:6:3: internal compiler error: in int_mode_for_mode, at
stor-layout.c:400
   return __builtin_memset (dest, ch, len);
   ^
0xb2e513 int_mode_for_mode(machine_mode)
        /mnt/svn/gcc-trunk/gcc/stor-layout.c:400
0x84759e emit_move_via_integer
        /mnt/svn/gcc-trunk/gcc/expr.c:3198
0x85579c emit_move_insn_1(rtx_def*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/expr.c:3578
0x855b68 emit_move_insn(rtx_def*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/expr.c:3645
0x836ebc copy_to_mode_reg(machine_mode, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/explow.c:656
0xe10960 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:24182
0xedd82e 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:15539
0xa35452 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
0xa35452 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
        /mnt/svn/gcc-trunk/gcc/optabs.c:8322
0xa35a88 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
        /mnt/svn/gcc-trunk/gcc/optabs.c:8334
0x849eee 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:3007
0x717197 expand_builtin_memset_args
        /mnt/svn/gcc-trunk/gcc/builtins.c:3731
0x7306c0 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        /mnt/svn/gcc-trunk/gcc/builtins.c:6173
0x84f64d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:10340
0x85eb17 store_expr(tree_node*, rtx_def*, int, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:5328
0x865f5e expand_assignment(tree_node*, tree_node*, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:5114
0x7573f6 expand_call_stmt
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:2273
0x7573f6 expand_gimple_stmt_1
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3170
0x7573f6 expand_gimple_stmt
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3322
0x758a37 expand_gimple_basic_block
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5162
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-210047-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-210047-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.10.0 20140504 (experimental) (GCC) 

Tested revisions:

Tested revisions:
r210047 - ICE
4.9 r209651 - ICE
4.8 r209342 - OK
4.7 r209345 - OK
4.6 r197894 - OK


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-05-13  9:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-04 19:48 [Bug rtl-optimization/61060] New: [4.9/4.10 Regression] ICE: in int_mode_for_mode, at stor-layout.c:400 with -free-ter zsojka at seznam dot cz
2014-05-05  9:14 ` [Bug target/61060] " rguenth at gcc dot gnu.org
2014-05-05 18:17 ` ubizjak at gmail dot com
2014-05-05 19:27 ` ubizjak at gmail dot com
2014-05-05 19:47 ` hubicka at ucw dot cz
2014-05-06  8:45 ` rguenth at gcc dot gnu.org
2014-05-06  9:34 ` hubicka at ucw dot cz
2014-05-12  9:08 ` jakub at gcc dot gnu.org
2014-05-13  8:29 ` jakub at gcc dot gnu.org
2014-05-13  8:32 ` jakub at gcc dot gnu.org
2014-05-13  9:19 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).