[Bug tree-optimization/68528] Wrong constant folding

2015-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68528 --- Comment #2 from Richard Biener --- at -O0 we have in .original int t = 1; because when we fold INT_MIN - (int) ((unsigned int) x0 - (unsigned int) x1) we go through /* A - B -> A + (-B) if B is easily negatable. */ if (negat

[Bug tree-optimization/68528] Wrong constant folding

2015-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68528 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRM