diff options
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r-- | gcc/tree-eh.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index b8972063c9d..d9baf711379 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -2823,7 +2823,7 @@ tree_empty_eh_handler_p (basic_block bb) region = gimple_resx_region (gsi_stmt (gsi)); /* filter_object set. */ - gsi_prev (&gsi); + gsi_prev_nondebug (&gsi); if (gsi_end_p (gsi)) return 0; if (gimple_code (gsi_stmt (gsi)) == GIMPLE_ASSIGN) @@ -2836,7 +2836,7 @@ tree_empty_eh_handler_p (basic_block bb) filter_tmp = gimple_assign_rhs1 (gsi_stmt (gsi)); /* filter_object set. */ - gsi_prev (&gsi); + gsi_prev_nondebug (&gsi); if (gsi_end_p (gsi)) return 0; if (gimple_code (gsi_stmt (gsi)) != GIMPLE_ASSIGN) @@ -2848,7 +2848,7 @@ tree_empty_eh_handler_p (basic_block bb) /* exc_ptr get. */ if (TREE_CODE (exc_ptr_tmp) != EXC_PTR_EXPR) { - gsi_prev (&gsi); + gsi_prev_nondebug (&gsi); if (gsi_end_p (gsi)) return 0; if (gimple_code (gsi_stmt (gsi)) != GIMPLE_ASSIGN) @@ -2864,7 +2864,7 @@ tree_empty_eh_handler_p (basic_block bb) /* filter_object get. */ if (TREE_CODE (filter_tmp) != FILTER_EXPR) { - gsi_prev (&gsi); + gsi_prev_nondebug (&gsi); if (gsi_end_p (gsi)) return 0; if (gimple_code (gsi_stmt (gsi)) != GIMPLE_ASSIGN) @@ -2878,7 +2878,7 @@ tree_empty_eh_handler_p (basic_block bb) } /* label. */ - gsi_prev (&gsi); + gsi_prev_nondebug (&gsi); if (gsi_end_p (gsi)) return 0; } |