re PR tree-optimization/31797 (infinite loop in tree-ssa-pre or ICE)
authorRichard Guenther <rguenther@suse.de>
Sat, 12 May 2007 17:21:43 +0000 (17:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 12 May 2007 17:21:43 +0000 (17:21 +0000)
commitc4160806e1a116b18498c97b969cc45e453104ce
treef25032dcb72bc99b2224beb492c056771db89662
parenta747170836486ab3bbe8d16ec5f0c26566a0a0ff
re PR tree-optimization/31797 (infinite loop in tree-ssa-pre or ICE)

2007-05-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/31797
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not
propagate into a stmt that has volatile ops.

* gcc.c-torture/compile/pr31797.c: New testcase.

From-SVN: r124637
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr31797.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c