summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c
index 6b8f186917f..a03cdfacee3 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -1590,7 +1590,7 @@ rest_of_handle_postreload (void)
reload_cse_regs (get_insns ());
/* Reload_cse_regs can eliminate potentially-trapping MEMs.
Remove any EH edges associated with them. */
- if (flag_non_call_exceptions)
+ if (cfun->can_throw_non_call_exceptions)
purge_all_dead_edges ();
return 0;