public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100445] New: ice during RTL pass: vregs
@ 2021-05-06 10:33 dcb314 at hotmail dot com
  2021-05-06 11:12 ` [Bug target/100445] [12 Regression] " jakub at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-06 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100445
           Summary: ice during RTL pass: vregs
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

int kgd_get_dense_grid_point_double_mesh_mesh_i;
int kgd_get_dense_grid_point_double_mesh_mesh_address[3];
kgd_get_dense_grid_point_double_mesh_mesh() {
  for (; kgd_get_dense_grid_point_double_mesh_mesh_i;
       kgd_get_dense_grid_point_double_mesh_mesh_i++) {
    kgd_get_dense_grid_point_double_mesh_mesh_address
        [kgd_get_dense_grid_point_double_mesh_mesh_i] =
            (kgd_get_dense_grid_point_double_mesh_mesh_i - 1) / 2;
  }
 
get_grid_point_single_mesh(kgd_get_dense_grid_point_double_mesh_mesh_address);
}

compiled like this:

$ /home/dcb/gcc/results/bin/gcc -c -w -O3 -march=bdver2 bug716.c 2>&1 | more
bug716.c: In function ‘kgd_get_dense_grid_point_double_mesh_mesh’:
bug716.c:11:1: error: unrecognizable insn:
   11 | }
      | ^
(insn 22 21 23 5 (set (reg:V2SI 95 [ vect_patt_5.16 ])
        (if_then_else:V2SI (reg:V2SI 105)
            (reg:V2SI 93 [ _40 ])
            (reg:V2SI 94 [ vect__1.14 ]))) -1
     (nil))
during RTL pass: vregs
bug716.c:11:1: internal compiler error: in extract_insn, at recog.c:2770

The bug seems to occur sometime between git hash 61d48b1e2b5bae1e
and e1fcf14f33e4f371. 

My best guess, from a bit bisect, is that Uros's commit with hash
f3661f2d63fbc5fd30c24d22137691e16b0a0a17 is the culprit.

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

end of thread, other threads:[~2021-05-11 18:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 10:33 [Bug target/100445] New: ice during RTL pass: vregs dcb314 at hotmail dot com
2021-05-06 11:12 ` [Bug target/100445] [12 Regression] " jakub at gcc dot gnu.org
2021-05-06 12:21 ` jakub at gcc dot gnu.org
2021-05-06 12:40 ` jakub at gcc dot gnu.org
2021-05-06 12:49 ` jakub at gcc dot gnu.org
2021-05-06 12:57 ` ubizjak at gmail dot com
2021-05-06 13:00 ` ubizjak at gmail dot com
2021-05-06 13:07 ` jakub at gcc dot gnu.org
2021-05-06 13:49 ` hjl.tools at gmail dot com
2021-05-06 14:10 ` ubizjak at gmail dot com
2021-05-06 14:58 ` ubizjak at gmail dot com
2021-05-07  8:38 ` cvs-commit at gcc dot gnu.org
2021-05-07  9:16 ` cvs-commit at gcc dot gnu.org
2021-05-11 11:56 ` marxin at gcc dot gnu.org
2021-05-11 18:33 ` dcb314 at hotmail dot com
2021-05-11 18:35 ` 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).