mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 10:20:19 +08:00
jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.
* jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn. From-SVN: r20135
This commit is contained in:
parent
d3903c22d5
commit
c71407f935
@ -1,5 +1,8 @@
|
||||
Fri May 29 01:48:25 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
|
||||
of a non-note insn.
|
||||
|
||||
* gcse.c (pre_delete): Fix code to determine the mode of
|
||||
the reaching pseudo register.
|
||||
|
||||
|
@ -4526,6 +4526,7 @@ thread_jumps (f, max_reg, flag_before_loop)
|
||||
rtx prev = PREV_INSN (new_label);
|
||||
|
||||
if (flag_before_loop
|
||||
&& GET_CODE (prev) == NOTE
|
||||
&& NOTE_LINE_NUMBER (prev) == NOTE_INSN_LOOP_BEG)
|
||||
{
|
||||
/* Don't thread to the loop label. If a loop
|
||||
|
Loading…
Reference in New Issue
Block a user