Commit 3ad0cfaf by Richard Kenner

(find_and_verify_loops): Properly continue loop after moving a block

of code near a loop exit.

From-SVN: r5826
parent ccaf7a07
/* 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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment