diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-04-04 03:06:17 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-03 20:06:17 -0700 |
commit | f114df2032fdc0c50ac41395460ee273a2860a6a (patch) | |
tree | f4e8a84c3f2f38b75ca9d098c6c5ced784de7494 /gcc/stmt.c | |
parent | db488e9ede211e25faf580eb0bd0f32351331722 (diff) | |
download | gcc-f114df2032fdc0c50ac41395460ee273a2860a6a.zip gcc-f114df2032fdc0c50ac41395460ee273a2860a6a.tar.gz gcc-f114df2032fdc0c50ac41395460ee273a2860a6a.tar.bz2 |
stmt.c (expand_loop_end): When copying the loop exit test, do not walk into a nested loop.
* stmt.c (expand_loop_end): When copying the loop exit test,
do not walk into a nested loop.
From-SVN: r26171
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2219,6 +2219,10 @@ expand_end_loop () abort (); } + /* We must not walk into a nested loop. */ + if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG) + break; + /* We already know this INSN is a NOTE, so there's no point in looking at it to see if it's a JUMP. */ continue; |