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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.03 11:11:40
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-03 
11:11:40 UTC ---
Created attachment 22245
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22245
gcc46-pr46009.patch

Untested fix.

As discussed on IRC, this is something that can be handled either in store
sinking pass, or in cselim (which has some infrastructure for it), or both.

This patch implements it in cselim.

Reply via email to