https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381
--- Comment #3 from Lennox Ho <lennox.ho at intel dot com> --- Thanks. -fno-tree-vectorize appears to fix GCC 12.1 at -O2. Curious, why is -ftree-vectorize enabled at -O2 with GCC 12.1? The documents say it's only turned on by default with -O3 ``` https://gcc.gnu.org/projects/tree-ssa/vectorization.html Vectorization is enabled by the flag -ftree-vectorize and by default at -O3 ```