diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-05-29 01:01:21 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-05-28 19:01:21 -0600 |
commit | c71407f935c633b9d092349ad14ee0df473a34f9 (patch) | |
tree | d8b55b58e51a99ad4fb91cf781099250db57c9de | |
parent | d3903c22d54559908a790f1aa257a20c783aea91 (diff) | |
download | gcc-c71407f935c633b9d092349ad14ee0df473a34f9.zip gcc-c71407f935c633b9d092349ad14ee0df473a34f9.tar.gz gcc-c71407f935c633b9d092349ad14ee0df473a34f9.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/jump.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85dad03..fa6c161 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. @@ -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 |