[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

2021-03-09 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99470 Mathias Stearn changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99470 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The reason why int is not equivalent because signed integer overflow is > undefined plus doing the math in 64bit or 32bit would cause a huge > difference in some

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

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

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99470 --- Comment #1 from Andrew Pinski --- these two code are not equivalent at all due to overflows and such.