[Bug tree-optimization/94356] Missed optimisation: useless multiplication generated for pointer comparison
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 30 07:23:21 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94356
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2020-03-30
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I also remember tackling this in pointer_int_sum at some point (also with mixed
results). Keep in mind the sizetype requirement for POINTER_PLUS_EXPR which
IMHO should change to either ssizetype or [s]sizetype - Bin tried the change
to ssizetype with again mixed results ;)
More information about the Gcc-bugs
mailing list