tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement could throw.

* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
	could throw.

From-SVN: r205196
This commit is contained in:
Eric Botcazou 2013-11-21 09:12:43 +00:00 committed by Eric Botcazou
parent 933cfd4a37
commit d091cd30a1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-11-21 Eric Botcazou <ebotcazou@adacore.com>
* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
could throw.
2013-11-21 Oleg Endo <olegendo@gcc.gnu.org>
PR target/53976

View File

@ -309,6 +309,7 @@ stmt_local_def (gimple stmt)
def_operand_p def_p;
if (gimple_has_side_effects (stmt)
|| stmt_could_throw_p (stmt)
|| gimple_vdef (stmt) != NULL_TREE)
return false;