[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)
malat at debian dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 3 08:41:12 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #11 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Uroš Bizjak from comment #10)
> The reason the test fails with gcc-12 is that gcc-12 enabled
> auto-vectorisation for -O2.
I can make the symptoms go away by doing: `-O2 -fno-tree-vectorize`. Since this
affects also arm5 and powerpc, it seems the bug is somewhere in the shared
32bits code (bug does not affects 64bits arch for some reason).
More information about the Gcc-bugs
mailing list