https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90637
Bug ID: 90637 Summary: [10 Regression] ICE in vect_loop_versioning, at tree-vect-loop-manip.c:3055 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-10.0.0-alpha20190519 snapshot (r271384) ICEs when compiling the following testcase at any optimization level (except -Og) and w/ -fopenmp --param sink-frequency-threshold=90: int vf; void pc (void) { int xr, b7; #pragma omp for simd if (xr) lastprivate (vf) schedule (static, 1) for (b7 = 0; b7 < 1; ++b7) { } } % gcc-10.0.0-alpha20190519 -O1 -fopenmp --param sink-frequency-threshold=90 -c wascdsp5.c during GIMPLE pass: vect wascdsp5.c: In function 'pc': wascdsp5.c:4:1: internal compiler error: in vect_loop_versioning, at tree-vect-loop-manip.c:3055 4 | pc (void) | ^~ (sorry, no full backtrace this time)