re PR tree-optimization/41728 (error: SSA name in freelist but still referenced)
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Oct 2009 16:57:31 +0000 (16:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Oct 2009 16:57:31 +0000 (16:57 +0000)
commit076ba1571553e691d508469376da0e6fbe32b6ee
tree66880854d9a37b6802cd0ce17d0f6d1a450b2402
parent33662270d5d07ca5bfebce6a0f85ab6e4b114480
re PR tree-optimization/41728 (error: SSA name in freelist but still referenced)

2009-10-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41728
* tree-ssa-dom.c (optimize_stmt): Mark the stmt modified
if fold_stmt did anything.

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

From-SVN: r152910
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr41728.c [new file with mode: 0644]
gcc/tree-ssa-dom.c