https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
--- Comment #6 from Sam James ---
-O2 -fno-vect-cost-model is enough
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
Andrew Pinski changed:
What|Removed |Added
Attachment #60208|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
--- Comment #3 from Andrew Pinski ---
-fno-tree-loop-vectorize fixes it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
--- Comment #2 from Sam James ---
Let me re-reduce it. UBSAN complains on the reduced one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
--- Comment #1 from David Binderman ---
Created attachment 60208
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60208&action=edit
C source code
Reduced C code.