public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/61060] New: [4.9/4.10 Regression] ICE: in int_mode_for_mode, at stor-layout.c:400 with -free-ter Date: Sun, 04 May 2014 19:48:00 -0000 [thread overview] Message-ID: <bug-61060-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2014-05-04 19:48 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-04 19:48 zsojka at seznam dot cz [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61060-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).