https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104497
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-02-11 Keywords| |ice-on-valid-code, | |needs-bisection Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|SEGV during GIMPLE pass: |[11/12 Regression] Invalid |pre |gimple produced for | |(A?vect:vect)[i] Target Milestone|--- |11.3 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note it ICEs even at -O1 with -fchecking. Confirmed. Simplified testcase that fails with -O1 -fchecking: typedef int __attribute__((vector_size(16))) vec_t; vec_t src, inv; vec_t test(int i) { vec_t y={0}; y[i] = (i & 1 ? inv : src)[i]; return y; }