OSDN Git Service

(shorten_branches): For non-optimizing compiles, break after first pass.
authortege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)
committertege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9514 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/final.c

index 237cf49..8038571 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 */
 }