public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101058] New: [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a
@ 2021-06-14  9:20 marxin at gcc dot gnu.org
  2021-06-14 10:22 ` [Bug target/101058] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-06-14  9:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101058
           Summary: [12 Regression] ICE in extract_insn, at recog.c:2770
                    since r12-1215-g8d7dae0eb366a88a
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ubizjak at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following fails:

$ cat vect.i
short add90Hybrid_a_1;
short *add90Hybrid_b, *add90Hybrid_c, *add90Hybrid_d;
void add90Hybrid() {
  for (int i; i < 200; i += 2) {
    add90Hybrid_c[i] = add90Hybrid_b[i];
    add90Hybrid_d[i] = add90Hybrid_a_1 - add90Hybrid_b[i + 1];
  }
}

$ gcc vect.i -c -m32 -O3 -mno-mmx -std=c99
vect.i: In function ‘add90Hybrid’:
vect.i:8:1: error: unrecognizable insn:
    8 | }
      | ^
(insn 474 473 213 13 (set (reg:V4HI 21 xmm1 [orig:321 vect__144.35 ] [321])
        (vec_select:V4HI (reg:V4HI 21 xmm1 [orig:321 vect__144.35 ] [321])
            (parallel [
                    (const_int 2 [0x2])
                    (const_int 3 [0x3])
                    (const_int 0 [0]) repeated x2
                ]))) "vect.i":5:37 -1
     (nil))
during RTL pass: split2
vect.i:8:1: internal compiler error: in extract_insn, at recog.c:2770
0x70345e _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x703480 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x7015eb extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2770
0xdf0094 extract_insn_cached(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2659
0xb1b1dc cleanup_subreg_operands(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/final.c:3099
0xdedeb7 split_insn
        /home/marxin/Programming/gcc/gcc/recog.c:3399
0xdf3387 split_all_insns()
        /home/marxin/Programming/gcc/gcc/recog.c:3467
0xdf342c execute
        /home/marxin/Programming/gcc/gcc/recog.c:4385
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2021-06-14 18:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14  9:20 [Bug target/101058] New: [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a marxin at gcc dot gnu.org
2021-06-14 10:22 ` [Bug target/101058] " rguenth at gcc dot gnu.org
2021-06-14 10:43 ` jakub at gcc dot gnu.org
2021-06-14 10:48 ` marxin at gcc dot gnu.org
2021-06-14 10:57 ` jakub at gcc dot gnu.org
2021-06-14 11:58 ` ubizjak at gmail dot com
2021-06-14 12:01 ` jakub at gcc dot gnu.org
2021-06-14 12:18 ` ubizjak at gmail dot com
2021-06-14 12:37 ` jakub at gcc dot gnu.org
2021-06-14 12:43 ` jakub at gcc dot gnu.org
2021-06-14 13:02 ` ubizjak at gmail dot com
2021-06-14 13:13 ` jakub at gcc dot gnu.org
2021-06-14 18:57 ` cvs-commit at gcc dot gnu.org
2021-06-14 18:59 ` ubizjak at gmail dot com

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).