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:
Jeffrey A Law 1998-05-29 01:01:21 +00:00 committed by Jeff Law
parent d3903c22d5
commit c71407f935
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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