]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ipa-modref.c
Correct a function pre/postcondition [PR102403].
[thirdparty/gcc.git] / gcc / ipa-modref.c
index 6e7788efb01acc382d43147afe2f7e95b59585e7..6d49cc1410e87cbab854a848c1db2ee3fe4058c3 100644 (file)
@@ -2125,7 +2125,8 @@ analyze_function (function *f, bool ipa)
   FOR_EACH_BB_FN (bb, f)
     {
       gimple_stmt_iterator si;
-      for (si = gsi_after_labels (bb); !gsi_end_p (si); gsi_next (&si))
+      for (si = gsi_start_nondebug_after_labels_bb (bb);
+          !gsi_end_p (si); gsi_next_nondebug (&si))
        {
          if (!analyze_stmt (summary, summary_lto,
                             gsi_stmt (si), ipa, &recursive_calls)