https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113898
Bug ID: 113898 Summary: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1156 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: shaohua.li at inf dot ethz.ch CC: rguenth at gcc dot gnu.org Target Milestone: --- gcc at -Os crashed on the test case. Bisected to r14-8929-g938a419182f %cat reduced.c int a, d; unsigned **b; long c, f; long e[2][1]; void g() { int h = 0; for (; h < 2; h++) { e[h][d + **b + a] = c; if (f) for (;;) ; } } void main() {} % %gcc -Os reduced.c int a, d; unsigned **b; long c, f; long e[2][1]; void g() { int h = 0; for (; h < 2; h++) { e[h][d + **b + a] = c; if (f) for (;;) ; } } void main() {} %