diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-21 09:12:43 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-21 09:12:43 +0000 |
commit | 02b28afa96e15c972ed452fe32f3a0b8eb33c79a (patch) | |
tree | b2c3cf4c3bcb86b1bae1663c502bec7f8b391198 /gcc | |
parent | ac98fc0d0ad018166724e1e58029cf1950bc8a5d (diff) |
* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
could throw.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-tail-merge.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9dab8afc7954..03e590b8322a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/tree-ssa-tail-merge.c b/gcc/tree-ssa-tail-merge.c index 35b8bbe04978..2e1df69b7bdb 100644 --- a/gcc/tree-ssa-tail-merge.c +++ b/gcc/tree-ssa-tail-merge.c @@ -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; |