[Bug tree-optimization/95643] Optimizer fails to realize that a variable tested twice in a row is the same both times

2023-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95643 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 See Also|

[Bug tree-optimization/95643] Optimizer fails to realize that a variable tested twice in a row is the same both times

2023-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95643 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/95643] Optimizer fails to realize that a variable tested twice in a row is the same both times

2021-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95643 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/95643] Optimizer fails to realize that a variable tested twice in a row is the same both times

2020-06-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95643 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ever

[Bug tree-optimization/95643] Optimizer fails to realize that a variable tested twice in a row is the same both times

2020-06-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95643 --- Comment #1 from Marc Glisse --- After FRE1 we have _2 = x_9(D) == 0; if (_2 != 0) so we assert things for _2 and not x_9, and we lose the __builtin_unreachable information in CCP2.