From: Torbjorn Granlund Date: Thu, 27 Apr 1995 20:18:13 +0000 (+0000) Subject: (shorten_branches): For non-optimizing compiles, break after first pass. X-Git-Tag: misc/cutover-egcs-0~4444 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb4aaf18a978802e24c0d6335b146d80d1955546;p=thirdparty%2Fgcc.git (shorten_branches): For non-optimizing compiles, break after first pass. From-SVN: r9514 --- diff --git a/gcc/final.c b/gcc/final.c index 237cf4916080..803857183f44 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -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 */ }