]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-ccp.c
tree-ssa-ccp.c (maybe_fold_stmt_indirect): Do not mess with TREE_THIS_VOLATILE on...
authorRichard Guenther <rguenther@suse.de>
Wed, 20 Aug 2008 15:58:47 +0000 (15:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Aug 2008 15:58:47 +0000 (15:58 +0000)
commite2104f59c475b30f600bdd812904a508a2d15721
tree261cdcc0eab7aad499e58deaf8abb7f55131cb0c
parent5e5dc75a3ef9ebff03bbf57fc7152e17e2449737
tree-ssa-ccp.c (maybe_fold_stmt_indirect): Do not mess with TREE_THIS_VOLATILE on shared nodes.

2008-08-20  Richard Guenther  <rguenther@suse.de>

* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Do not mess
with TREE_THIS_VOLATILE on shared nodes.
(fold_stmt_r): Likewise.

* gcc.c-torture/compile/20080820-1.c: New testcase.

From-SVN: r139325
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20080820-1.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c