diff options
author | tege <tege@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-04-27 20:18:13 +0000 |
---|---|---|
committer | tege <tege@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-04-27 20:18:13 +0000 |
commit | 1280554a844897cf6502b5c31e85873794ce500f (patch) | |
tree | b68b83cf0c91b75446f3033a1ad695fd9aaa7e26 /gcc/final.c | |
parent | a1688b6deaae07c367b5b35bb70c00166787e983 (diff) | |
download | gcc-1280554a844897cf6502b5c31e85873794ce500f.tar.gz |
(shorten_branches): For non-optimizing compiles, break after first pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c index 237cf491608..803857183f4 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 */ } |