public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47315] New: ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target("avx")))
@ 2011-01-16 15:15 zsojka at seznam dot cz
  2011-01-16 16:35 ` [Bug target/47315] " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-16 15:15 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: in extract_insn, at recog.c:2109 (unrecognizable
                    insn) with -mvzeroupper and
                    __attribute__((target("avx")))
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: hjl.tools@gmail.com
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


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

Compiler output:
$ gcc -mvzeroupper testcase.c
testcase.c: In function 'foo':
testcase.c:7:1: error: unrecognizable insn:
(insn 12 6 13 2 (unspec_volatile [
            (const_int 2 [0x2])
        ] UNSPECV_VZEROUPPER) testcase.c:6 -1
     (nil))
testcase.c:7:1: internal compiler error: in extract_insn, at recog.c:2109
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=0x1121ad8 "/mnt/svn/gcc-trunk/gcc/recog.c", line=2109,
function=0x11227ae "extract_insn")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x000000000085a535 in _fatal_insn (msgid=<value optimized out>,
insn=0x7ffff5c9a798, 
    file=0x1121ad8 "/mnt/svn/gcc-trunk/gcc/recog.c", line=2109,
function=0x11227ae "extract_insn")
    at /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
#2  0x000000000085a5d0 in _fatal_insn_not_found (insn=<value optimized out>,
file=<value optimized out>, 
    line=<value optimized out>, function=<value optimized out>) at
/mnt/svn/gcc-trunk/gcc/rtl-error.c:118
#3  0x00000000008170a2 in extract_insn (insn=0x7ffff5c9a798) at
/mnt/svn/gcc-trunk/gcc/recog.c:2109
#4  0x00000000008172cc in extract_insn_cached (insn=0x7ffff5c9a798) at
/mnt/svn/gcc-trunk/gcc/recog.c:2012
#5  0x00000000006c1377 in cleanup_subreg_operands (insn=0x7ffff5c9a798) at
/mnt/svn/gcc-trunk/gcc/final.c:2784
#6  0x0000000000812906 in split_insn (insn=<value optimized out>) at
/mnt/svn/gcc-trunk/gcc/recog.c:2816
#7  0x000000000081af14 in split_all_insns () at
/mnt/svn/gcc-trunk/gcc/recog.c:2870
#8  0x000000000081b0b9 in rest_of_handle_split_after_reload () at
/mnt/svn/gcc-trunk/gcc/recog.c:3730
#9  0x00000000007ef846 in execute_one_pass (pass=0x1602320) at
/mnt/svn/gcc-trunk/gcc/passes.c:1561
#10 0x00000000007efb35 in execute_pass_list (pass=0x1602320) at
/mnt/svn/gcc-trunk/gcc/passes.c:1616
#11 0x00000000007efb47 in execute_pass_list (pass=0x1601e40) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#12 0x00000000007efb47 in execute_pass_list (pass=0x1601ea0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#13 0x000000000092fdc6 in tree_rest_of_compilation (fndecl=0x7ffff5d6eb00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#14 0x0000000000af51e2 in cgraph_expand_function (node=0x7ffff5d75160) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1522
#15 0x0000000000af7b9d in cgraph_output_in_order () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1675
#16 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1836
#17 0x0000000000af7e2a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1042
#18 0x000000000050582c in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9843
#19 0x00000000008d95f4 in compile_file (argc=13, argv=0x7fffffffdaf8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#20 do_compile (argc=13, argv=0x7fffffffdaf8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1874
#21 toplev_main (argc=13, argv=0x7fffffffdaf8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1937
#22 0x00007ffff65f1bbd in __libc_start_main () from /lib/libc.so.6
#23 0x00000000004ec40d in _start ()

Tested revisions:
r168843 - crash


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

end of thread, other threads:[~2021-11-29  6:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16 15:15 [Bug target/47315] New: ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target("avx"))) zsojka at seznam dot cz
2011-01-16 16:35 ` [Bug target/47315] " hjl.tools at gmail dot com
2011-05-23 17:00 ` hjl.tools at gmail dot com
2011-05-23 17:19 ` hjl at gcc dot gnu.org
2011-06-27 22:55 ` changpeng.fang at amd dot com
2011-06-27 23:01 ` hjl.tools at gmail dot com
2021-11-29  6:47 ` pinskia 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).