aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-05-07 13:02:36 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-05-07 13:02:36 +0000
commit3f8825c030327ba848489938822ce84659adb15c (patch)
tree526d59f90336916a5e5f4f289babd36470843647 /gcc/tree-inline.c
parentfd4842cd6793508d4cdf630ef8a3e406cff7b895 (diff)
downloadgcc-3f8825c030327ba848489938822ce84659adb15c.zip
gcc-3f8825c030327ba848489938822ce84659adb15c.tar.gz
gcc-3f8825c030327ba848489938822ce84659adb15c.tar.bz2
calls.c (special_function_p): setjmp-like functions are leaf.
2013-05-07 Richard Biener <rguenther@suse.de> * calls.c (special_function_p): setjmp-like functions are leaf. * builtins.def (BUILT_IN_SETJMP): setjmp is leaf. * tree-inline.c (update_ssa_across_abnormal_edges): Remove assert. From-SVN: r198681
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 83b41b1..57af7de 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1835,8 +1835,8 @@ update_ssa_across_abnormal_edges (basic_block bb, basic_block ret_bb,
phi = gsi_stmt (si);
- /* There shouldn't be any PHI nodes in the ENTRY_BLOCK. */
- gcc_assert (!e->dest->aux);
+ /* For abnormal goto/call edges the receiver can be the
+ ENTRY_BLOCK. Do not assert this cannot happen. */
gcc_assert ((e->flags & EDGE_EH)
|| SSA_NAME_OCCURS_IN_ABNORMAL_PHI (PHI_RESULT (phi)));