https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221
Bug ID: 110221
Summary: With AVX512 fully masking gfortran.dg/pr68146.f ICEs
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
The testcase ICEs with -march=znver4 --param vect-partial-vector-usage=2
because
invariant .COND_* functions with conditional masks that end up being invariant
get scheduled ahead of the loop by SLP.
This is similar to PR108979 but complicated by the conditional mask being
originally computed inside of the loop (so not vect_external_def).