diff options
author | Richard Stallman <rms@gnu.org> | 1992-07-16 21:06:59 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-07-16 21:06:59 +0000 |
commit | c6096c5e3d481ec630eaa1661aa22568b1e47b52 (patch) | |
tree | 328a71c0aa3e7021924d5a1b96aa273136773f67 /gcc | |
parent | 2c31e123f2abb86e5168982738c23b51579223b5 (diff) | |
download | gcc-c6096c5e3d481ec630eaa1661aa22568b1e47b52.zip gcc-c6096c5e3d481ec630eaa1661aa22568b1e47b52.tar.gz gcc-c6096c5e3d481ec630eaa1661aa22568b1e47b52.tar.bz2 |
*** empty log message ***
From-SVN: r1598
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/loop.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -2270,10 +2270,13 @@ find_and_verify_loops (f) and move the block of code to the spot we found. */ if (GET_CODE (p) == JUMP_INSN - && JUMP_LABEL (p) != 0 - && condjump_p (p) - && ! simplejump_p (p) - && next_real_insn (JUMP_LABEL (p)) == our_next) + && JUMP_LABEL (p) != 0 + /* Just ignore jumps to labels that were never emitted. + These always indicate compilation errors. */ + && INSN_UID (JUMP_LABEL (p)) != 0 + && condjump_p (p) + && ! simplejump_p (p) + && next_real_insn (JUMP_LABEL (p)) == our_next) { rtx target = JUMP_LABEL (insn) ? JUMP_LABEL (insn) : get_last_insn (); |