From c71407f935c633b9d092349ad14ee0df473a34f9 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Fri, 29 May 1998 01:01:21 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/jump.c | 1 + 2 files changed, 4 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85dad03ca40..fa6c161976f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/jump.c b/gcc/jump.c index 301381c40d9..d5e33966a88 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -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 -- 2.30.2