[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > /app/example.cpp:36:24: runtime error: negation of > 0x8000 cannot be represented in type '__int128'; > cast to an unsigned type to n

[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 --- Comment #2 from Andrew Pinski --- /app/example.cpp:36:24: runtime error: negation of 0x8000 cannot be represented in type '__int128'; cast to an unsigned type to negate this value to itself

[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID URL|https://godb