PR middle-end/37337
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Sep 2008 19:31:18 +0000 (19:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Sep 2008 19:31:18 +0000 (19:31 +0000)
commitc8c258fe6db58d94e28d1008291ff2911ff658bf
treea54110c3122e438cc13741215d76b6c9b404f677
parent0cce97a638ada18d399567b3f500827d9ae19d0e
PR middle-end/37337
* tree-ssa-dom.c (optimize_stmt): Call maybe_clean_or_replace_eh_stmt
even when a stmt has been gimple_modified_p, but after fold_stmt is
not any longer.  Remove unneeded may_have_exposed_new_symbols
initializations.

* g++.dg/tree-ssa/pr37337.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140117 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr37337.C [new file with mode: 0644]
gcc/tree-ssa-dom.c