https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #11 from Mathieu Malaterre ---
(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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #10 from Uroš Bizjak ---
(In reply to Mathieu Malaterre from comment #9)
> Technically I can also execute the `uint16` portion of the unit test and
> produce a failure (so this seems to be consistent behavior with signed
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #9 from Mathieu Malaterre ---
(In reply to Andrew Pinski from comment #8)
> Does -fwrapv fix the issue?
No. This seems like the exact same symptoms:
% ./tests/mul_test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
Martin Liška changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
Andrew Pinski changed:
What|Removed |Added
Target||i386-linux-gnu
Component|c++