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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|matz at gcc dot gnu.org     |jakub at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 
09:12:39 UTC ---
Created attachment 25929
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25929
gcc47-pr50078.patch

IMHO it is a forwprop bug, which changes a MEM_REF in this case into an
ARRAY_REF (with MEM_REF operand), but copies TREE_THIS_VOLATILE from the
original MEM_REF not to the ARRAY_REF, but to the inner MEM_REF.

Reply via email to