diff options
author | Richard Guenther <rguenther@suse.de> | 2007-07-13 15:41:02 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-07-13 15:41:02 +0000 |
commit | cbf8d355b8ea5cdbbc02ac0ab0433aaa79431a3b (patch) | |
tree | 09665852468f06599133d7e15cdbb53604802650 /gcc/ChangeLog | |
parent | 05724daed2ffba316e84fcd45f02221d52e4fa95 (diff) | |
download | gcc-cbf8d355b8ea5cdbbc02ac0ab0433aaa79431a3b.zip gcc-cbf8d355b8ea5cdbbc02ac0ab0433aaa79431a3b.tar.gz gcc-cbf8d355b8ea5cdbbc02ac0ab0433aaa79431a3b.tar.bz2 |
re PR tree-optimization/32721 (CCP removes volatile qualifiers.)
2007-07-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/32721
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Preserve
TREE_THIS_VOLATILE on the folded reference.
* tree-ssa-operands.c (get_expr_operands): Set has_volatile_ops
if the array reference has TREE_THIS_VOLATILE set.
* gcc.dg/pr32721.c: New testcase.
From-SVN: r126624
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49d10e0..5c8b8be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2007-07-13 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/32721 + * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Preserve + TREE_THIS_VOLATILE on the folded reference. + * tree-ssa-operands.c (get_expr_operands): Set has_volatile_ops + if the array reference has TREE_THIS_VOLATILE set. + 2007-07-13 H.J. Lu <hongjiu.lu@intel.com> PR other/32188 |