public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/104779] New: [12 Regression] ICE: in extract_insn, at recog.cc:2769 (error: unrecognizable insn)
@ 2022-03-04  8:36 asolokha at gmx dot com
  2022-03-04  9:42 ` [Bug target/104779] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2022-03-04  8:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104779

            Bug ID: 104779
           Summary: [12 Regression] ICE: in extract_insn, at recog.cc:2769
                    (error: unrecognizable insn)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu

gcc 12.0.1 20220227 snapshot (g:d1574a9b820f17adb9004255e2018967e9be063b) ICEs
when compiling the following testcase w/ -O1 --param
sccvn-max-alias-queries-per-access=0:

__attribute__ ((simd)) int
foo (int x, int y, int z)
{
  return (x & y) * !!z;
}

% x86_64-pc-linux-gnu-gcc-12.0.1 -O1 --param
sccvn-max-alias-queries-per-access=0 -c yumxsqtg.c
yumxsqtg.c: In function 'foo.simdclone.6':
yumxsqtg.c:5:1: error: unrecognizable insn:
    5 | }
      | ^
(insn 14 13 18 2 (set (reg:V16SI 85 [ <retval> ])
        (vec_merge:V16SI (and:V16SI (mem/c:V16SI (plus:DI (reg/f:DI 77
virtual-stack-vars)
                        (const_int -128 [0xffffffffffffff80])) [0 MEM
<vector(16) int> [(int *)&y.57]+0 S64 A512])
                (mem/c:V16SI (plus:DI (reg/f:DI 77 virtual-stack-vars)
                        (const_int -192 [0xffffffffffffff40])) [0 MEM
<vector(16) int> [(int *)&x.56]+0 S64 A512]))
            (const_vector:V16SI [
                    (const_int 0 [0]) repeated x16
                ])
            (reg:HI 91 [ mask__5.187 ]))) -1
     (nil))
during RTL pass: vregs
yumxsqtg.c:5:1: internal compiler error: in extract_insn, at recog.cc:2769
0x71bfd7 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/rtl-error.cc:108
0x71bff3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/rtl-error.cc:116
0x71a5ed extract_insn(rtx_insn*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/recog.cc:2769
0xb65c6b instantiate_virtual_regs_in_insn
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/function.cc:1611
0xb65c6b instantiate_virtual_regs
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/function.cc:1985
0xb65c6b execute
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220227/work/gcc-12-20220227/gcc/function.cc:2034

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

end of thread, other threads:[~2022-03-07  8:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04  8:36 [Bug rtl-optimization/104779] New: [12 Regression] ICE: in extract_insn, at recog.cc:2769 (error: unrecognizable insn) asolokha at gmx dot com
2022-03-04  9:42 ` [Bug target/104779] " pinskia at gcc dot gnu.org
2022-03-04  9:42 ` pinskia at gcc dot gnu.org
2022-03-04  9:50 ` jakub at gcc dot gnu.org
2022-03-04 12:05 ` jakub at gcc dot gnu.org
2022-03-04 13:14 ` jakub at gcc dot gnu.org
2022-03-07  8:41 ` cvs-commit at gcc dot gnu.org
2022-03-07  8:51 ` 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).