[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-08-03 Thread malat at debian dot org via Gcc-bugs
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

[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-19 Thread ubizjak at gmail dot com via Gcc-bugs
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 >

[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-18 Thread malat at debian dot org via Gcc-bugs
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

[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Andrew Pinski changed: What|Removed |Added Target||i386-linux-gnu Component|c++