aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-iterator.c')
-rw-r--r--gcc/gimple-iterator.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/gimple-iterator.c b/gcc/gimple-iterator.c
index 46d3c6a..258bbee 100644
--- a/gcc/gimple-iterator.c
+++ b/gcc/gimple-iterator.c
@@ -743,13 +743,9 @@ gimple_find_edge_insert_loc (edge e, gimple_stmt_iterator *gsi,
if (gsi_end_p (*gsi))
return true;
- /* Make sure we insert after any leading labels. We have to
- skip debug stmts before or among them, though. We didn't
- have to skip debug stmts after the last label, but it
- shouldn't hurt if we do. */
+ /* Make sure we insert after any leading labels. */
tmp = gsi_stmt (*gsi);
- while (gimple_code (tmp) == GIMPLE_LABEL
- || is_gimple_debug (tmp))
+ while (gimple_code (tmp) == GIMPLE_LABEL)
{
gsi_next (gsi);
if (gsi_end_p (*gsi))