This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21485] [4.4/4.5/4.6/4.7/4.8 Regression] missed load PRE, PRE makes i?86 suck
- 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 Mar 2012 23:51:36 +0000
- Subject: [Bug tree-optimization/21485] [4.4/4.5/4.6/4.7/4.8 Regression] missed load PRE, PRE makes i?86 suck
- Auto-submitted: auto-generated
- References: <bug-21485-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21485
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32120
--- Comment #48 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-03 23:51:36 UTC ---
I noticed PR 32120 is also involved.
D.1716_7 = k_4 * 8;
D.1717_9 = array_8(D) + D.1716_7;
D.1718_10 = *D.1717_9;
k_11 = k_4 + 1;
D.1720_12 = k_11 * 8;
The D.1720_12 should be converted to D.1716_7 + 8.