[Bug c/112328] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328

David Binderman  changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu.org

--- Comment #2 from David Binderman  ---
After a bisect, range seems to be g:1cf5dc05c678232b
to g:9119b008b4195e06.

Richard's commit e3da1d7bb288c8c864f0284bc4bc5877b466a2f7 looks a strong
candidate.

[Bug c/112328] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328

--- Comment #1 from David Binderman  ---
Reduced code seems to be:

int allchars, palsetup_p, palsetup_b, palsetup_e;
int *palsetup_palette;
void palsetup() {
  int g;
  char *s;
  switch (palsetup_p)
  case 6:
s = allchars;
  g = 0;
  for (; g < palsetup_p; g++) {
palsetup_b = 0;
for (; palsetup_b < palsetup_p; palsetup_b++)
  palsetup_e = palsetup_palette[*s++];
  }
}