This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Sep 2016 21:38:20 +0000
- Subject: [Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"
- Auto-submitted: auto-generated
- References: <bug-41244-4@http.gcc.gnu.org/bugzilla/>
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.