http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46556

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.11.22 10:22:43
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-22 
10:22:43 UTC ---
Well, we obviously can't have it both ways ...

I think RTL fwprop could recognize that propagating (n+CST)*4 isn't resulting
in a valid addressing mode and then rewrite it as n*4 + CST to expose the CSE
opportunity.  Or IVOPTs can be made work on non-loops (I suppose if you
construct an equivalent testcase that has the accesses within a loop it works?)

Reply via email to