diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-20 07:56:55 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-20 07:56:55 -0400 |
commit | 3ad0cfaf1dd7f3bf14e8848d9521e54fd6bc43a9 (patch) | |
tree | 09fb51e4d0e6fe9b67aafc65bda87860dbaf2633 /gcc | |
parent | ccaf7a07c8347fff6d2e26856d0440b68178a574 (diff) | |
download | gcc-3ad0cfaf1dd7f3bf14e8848d9521e54fd6bc43a9.zip gcc-3ad0cfaf1dd7f3bf14e8848d9521e54fd6bc43a9.tar.gz gcc-3ad0cfaf1dd7f3bf14e8848d9521e54fd6bc43a9.tar.bz2 |
(find_and_verify_loops): Properly continue loop after moving a block
of code near a loop exit.
From-SVN: r5826
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/loop.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* Move constant computations out of loops. - Copyright (C) 1987, 1988, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 88, 89, 91, 92, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -2423,6 +2423,9 @@ find_and_verify_loops (f) if (--LABEL_NUSES (cond_label) == 0) delete_insn (cond_label); + + /* This loop will be continued with NEXT_INSN (insn). */ + insn = PREV_INSN (insn); } } } |