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 target/47948] New: ICE: in emit_move_insn, at expr.c:3355 with -mno-sse2 on very simple code
Date: Tue, 01 Mar 2011 23:04:00 -0000	[thread overview]
Message-ID: <bug-47948-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: ICE: in emit_move_insn, at expr.c:3355 with -mno-sse2
                    on very simple code
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23510
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23510
reduced testcase

Compiler output:
$ gcc -mno-sse2 testcase.c 
testcase.c: In function 'foo':
testcase.c:5:3: internal compiler error: in emit_move_insn, at expr.c:3355
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x110b640 "/mnt/svn/gcc-trunk/gcc/expr.c", line=3355,
function=0x110c9e5 "emit_move_insn")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x00000000006b0eb9 in emit_move_insn (x=0x7ffff7fc3ba0, y=0x7ffff7fc3b40)
at /mnt/svn/gcc-trunk/gcc/expr.c:3354
#2  0x00000000008ca7d1 in expand_value_return (val=0x7ffff7fc3b40) at
/mnt/svn/gcc-trunk/gcc/stmt.c:1631
#3  0x00000000008d066b in expand_return (retval=0x7ffff7ff9118) at
/mnt/svn/gcc-trunk/gcc/stmt.c:1815
#4  0x00000000005e0e8b in expand_gimple_stmt_1 (stmt=0x7ffff7fbd510) at
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:1951
#5  expand_gimple_stmt (stmt=0x7ffff7fbd510) at
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:2080
#6  0x00000000005e2f29 in expand_gimple_basic_block (bb=0x7ffff7fb81a0) at
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:3609
#7  0x00000000005e81d9 in gimple_expand_cfg () at
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:4092
#8  0x00000000007f7056 in execute_one_pass (pass=0x1638ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1556
#9  0x00000000007f7355 in execute_pass_list (pass=0x1638ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1611
#10 0x000000000093a2b6 in tree_rest_of_compilation (fndecl=0x7ffff7fbac00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#11 0x0000000000b02312 in cgraph_expand_function (node=0x7ffff5b87000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1576
#12 0x0000000000b04d4d in cgraph_output_in_order () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1733
#13 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1894
#14 0x0000000000b04fda in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1096
#15 0x00000000005097bc in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9872
#16 0x00000000008e3248 in compile_file (argc=13, argv=0x7fffffffdba8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#17 do_compile (argc=13, argv=0x7fffffffdba8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1900
#18 toplev_main (argc=13, argv=0x7fffffffdba8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1963
#19 0x00007ffff6446bbd in __libc_start_main () from /lib/libc.so.6
#20 0x00000000004f036d in _start ()


It doesn't ICE with -m32.

Tested revisions:
r170594 - crash
4.5 r170013 - crash
4.4 r170013 - crash


             reply	other threads:[~2011-03-01 23:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 23:04 zsojka at seznam dot cz [this message]
2011-03-02 10:21 ` [Bug target/47948] " rguenth at gcc dot gnu.org
2011-03-02 10:47 ` jakub at gcc dot gnu.org
2011-03-02 11:42 ` zsojka at seznam dot cz
2021-08-09  6:17 ` pinskia at gcc dot gnu.org
2021-08-09  6:19 ` pinskia 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-47948-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: link
Be 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).