[Bug tree-optimization/86605] Suboptimal code for pointer arithmetic with 'this'

2021-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86605 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/86605] Suboptimal code for pointer arithmetic with 'this'

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86605 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > So on the trunk we get: > if (&test != 4B) > goto ; [70.00%] > else > goto ; [30.00%] > >[local count: 322122544]: > >[local count: 10737418

[Bug tree-optimization/86605] Suboptimal code for pointer arithmetic with 'this'

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86605 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Last reconfirmed|201