[Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 3 21:38:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41244
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2009-09-03 14:12:37 |2016-9-3
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On the trunk (on aarch64) we get:
long int _4;
long int _5;
int _7;
sizetype _10;
<bb 2>:
_10 = i_6(D) w* 4;
_4 = (long int) _10;
_5 = _4 /[ex] 4;
_7 = (int) _5;
Which is better.
More information about the Gcc-bugs
mailing list