[Bug tree-optimization/96397] GCC Fails to exploit ranges from overflow tests

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96397 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/96397] GCC Fails to exploit ranges from overflow tests

2020-07-31 Thread amacleod at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96397 --- Comment #2 from Andrew Macleod --- if I read this right, the basic premise is: x = p1 - 4, so if x + 8 doesn't overflow, then p1 - 4 couldn't have underflowed, and therefore x must be > p1 which is a little more complicated than just back p

[Bug tree-optimization/96397] GCC Fails to exploit ranges from overflow tests

2020-07-31 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96397 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,