[Bug middle-end/95326] GCC can not detect signed-integer-overflow correctly

2024-03-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95326 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 Known to work|

[Bug middle-end/95326] GCC can not detect signed-integer-overflow correctly

2020-05-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95326 --- Comment #4 from Andrew Pinski --- (In reply to Haoxin Tu from comment #3) > Would GCC shorten the multiple to be other types early as well? I also find > some cases in "short" type with the same symptom. I am still testing now and > don't

[Bug middle-end/95326] GCC can not detect signed-integer-overflow correctly

2020-05-26 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95326 --- Comment #3 from Haoxin Tu --- Would GCC shorten the multiple to be other types early as well? I also find some cases in "short" type with the same symptom. I am still testing now and don't know there are any cases in rest of types(such as

[Bug middle-end/95326] GCC can not detect signed-integer-overflow correctly

2020-05-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95326 Andrew Pinski changed: What|Removed |Added Component|c++ |middle-end Last reconfirmed|