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
This commit is contained in:
parent
db488e9ede
commit
f114df2032
@ -1,3 +1,8 @@
|
||||
Sun Apr 4 04:05:04 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* stmt.c (expand_loop_end): When copying the loop exit test,
|
||||
do not walk into a nested loop.
|
||||
|
||||
Sun Apr 4 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
|
||||
|
||||
* version.c: Bump for snapshot.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user