]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(shorten_branches): For non-optimizing compiles, break after first pass.
authorTorbjorn Granlund <tege@gnu.org>
Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)
From-SVN: r9514

gcc/final.c

index 237cf4916080ddeac2641ad18ae9f9361f00a06b..803857183f4428c981bd9bcc75c998e91c8066be 100644 (file)
@@ -815,6 +815,9 @@ shorten_branches (first)
              something_changed = 1;
            }
        }
+      /* For a non-optimizing compile, do only a single pass.  */
+      if (!optimize)
+       break;
     }
 #endif /* HAVE_ATTR_length */
 }