diff options
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c index 9874b595d83..bc3b8c495a2 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2846,6 +2846,10 @@ set_nothrow_function_flags (void) (current_function_decl)) >= AVAIL_AVAILABLE)) { + struct cgraph_node *node = cgraph_node (current_function_decl); + struct cgraph_edge *e; + for (e = node->callers; e; e = e->next_caller) + e->can_throw_external = false; TREE_NOTHROW (current_function_decl) = 1; if (dump_file) |