[Bug c++/117341] GCC 13.2.0 and 14.2.0 generate wrong code with -O3

2024-10-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117341 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/117341] GCC 13.2.0 and 14.2.0 generate wrong code with -O3

2024-10-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117341 --- Comment #3 from Andrew Pinski --- Created attachment 59483 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59483&action=edit Semi-self contained testcase Still uses prints but no headers are in use now.

[Bug c++/117341] GCC 13.2.0 and 14.2.0 generate wrong code with -O3

2024-10-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117341 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #2 from Andrew Pinski

[Bug c++/117341] GCC 13.2.0 and 14.2.0 generate wrong code with -O3

2024-10-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117341 --- Comment #1 from Sam James --- 10.5: 1 1 0 0 11.5: 1 1 0 0 12.4.1: 1 1 1 0 13.3.1: 1 1 1 0 14.2.1: 1 1 1 1 15.0.0: 1 1 1 1