mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
933cfd4a37
commit
d091cd30a1
|
|
@ -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>
|
2013-11-21 Oleg Endo <olegendo@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/53976
|
PR target/53976
|
||||||
|
|
|
||||||
|
|
@ -309,6 +309,7 @@ stmt_local_def (gimple stmt)
|
||||||
def_operand_p def_p;
|
def_operand_p def_p;
|
||||||
|
|
||||||
if (gimple_has_side_effects (stmt)
|
if (gimple_has_side_effects (stmt)
|
||||||
|
|| stmt_could_throw_p (stmt)
|
||||||
|| gimple_vdef (stmt) != NULL_TREE)
|
|| gimple_vdef (stmt) != NULL_TREE)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue