http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49671
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-26 07:52:27 UTC --- Author: pinskia Date: Tue Jul 26 07:52:24 2011 New Revision: 176785 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176785 Log: 2011-07-25 Andrew Pinski <apin...@cavium.com> PR tree-opt/49671 * tree-inline.c (remap_gimple_op_r): Copy TREE_THIS_VOLATILE and TREE_THIS_NOTRAP into the inner most MEM_REF. Always copy TREE_THIS_VOLATILE. * tree-sra.c (ptr_parm_has_direct_uses): Check that the lhs, rhs and arguments are not volatile references. 2011-07-25 Andrew Pinski <apin...@cavium.com> PR tree-opt/49671 * gcc.dg/tree-ssa/pr49671-1.c: New testcase. * gcc.dg/tree-ssa/pr49671-2.c: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr49671-1.c - copied unchanged from r176782, trunk/gcc/testsuite/gcc.dg/tree-ssa/pr49671-1.c branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr49671-2.c - copied unchanged from r176782, trunk/gcc/testsuite/gcc.dg/tree-ssa/pr49671-2.c Modified: branches/gcc-4_6-branch/ (props changed) branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.c (props changed) branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.h (props changed) branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-inline.c branches/gcc-4_6-branch/gcc/tree-sra.c Propchange: branches/gcc-4_6-branch/ ('svn:mergeinfo' modified) Propchange: branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.c ('svn:mergeinfo' modified) Propchange: branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.h ('svn:mergeinfo' modified)