https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119262
Bug ID: 119262
Summary: Missed vectorize loop within bitshift when using one
bool rather than two
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: kaelfandrew at gmail dot com
Target Milestone: ---
Created attachment 60732
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60732&action=edit
C code
See C code attachment.
Gentoo GCC 14.2 with flags -std=gnu23 -O3 -march=icelake-client.
-fopt-info-missed showed
main.c:7:29: missed: couldn't vectorize loop
main.c:7:29: missed: not vectorized: unsupported control flow in loop.