diff options
author | Andrew Pinski <apinski@cavium.com> | 2011-07-26 05:28:45 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2011-07-25 22:28:45 -0700 |
commit | 0de204de65593f3a5cfeb4a682e0566657b840f6 (patch) | |
tree | 5df32a8770e8baaad425277737ea84c3ea2e263b /gcc/lcm.c | |
parent | 9bc13c238df4ed18f702e70f976408dee0c7df6b (diff) | |
download | gcc-0de204de65593f3a5cfeb4a682e0566657b840f6.zip gcc-0de204de65593f3a5cfeb4a682e0566657b840f6.tar.gz gcc-0de204de65593f3a5cfeb4a682e0566657b840f6.tar.bz2 |
re PR middle-end/49671 (volatile goes missing after inlining)
2011-07-25 Andrew Pinski <apinski@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 <apinski@cavium.com>
PR tree-opt/49671
* gcc.dg/tree-ssa/pr49671-1.c: New testcase.
* gcc.dg/tree-ssa/pr49671-2.c: New testcase.
From-SVN: r176782
Diffstat (limited to 'gcc/lcm.c')
0 files changed, 0 insertions, 0 deletions