]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 09:12:43 +0000 (09:12 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 09:12:43 +0000 (09:12 +0000)
could throw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205196 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-tail-merge.c

index 9dab8afc7954e24efe604c9d733c59025b661ebd..03e590b8322a67082e1968186537e3b30f604121 100644 (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
index 35b8bbe049786666359f2744d251652724124d1f..2e1df69b7bdb9c2ae4ca2a4585cd24852f611101 100644 (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;