[Bug c/68067] Wrong constant folding

2015-10-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68067 --- Comment #2 from Richard Biener --- Yep. Btw, what happens is that we see if (tem - 1 != 2147483647) and that is obviously always true unless tem - 1 wraps from -2147483648 to 2147483647 which would invoke undefined behavior.

[Bug c/68067] Wrong constant folding

2015-10-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68067 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/68067] Wrong constant folding

2015-10-23 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68067 Joseph S. Myers changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|