From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4059 invoked by alias); 1 Mar 2011 23:04:59 -0000 Received: (qmail 4051 invoked by uid 22791); 1 Mar 2011 23:04:58 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Mar 2011 23:04:54 +0000 From: "zsojka at seznam dot cz" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 01 Mar 2011 23:04:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00132.txt.bz2 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 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