This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2
- 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: Tue, 13 Mar 2012 03:20:53 +0000
- Subject: [Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2
- Auto-submitted: auto-generated
- References: <bug-32120-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32120
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Blocks|22586 |
Depends on| |22586
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-13 03:20:53 UTC ---
I am not working on this any more. This really should be done correctly in
FRE/PRE when looking up SSA_NAME * 4, and SSA_NAME is defined by a PLUS_EXPR
with a constant, lookup the inner most SSA_NAME *4. Which is what PR 22586 is
talking about.
I might work towards that but not with my tree combine branch.