diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1997-09-20 00:52:52 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-19 18:52:52 -0600 |
commit | 272299b9cabbfe63101274564899222b737dede5 (patch) | |
tree | c01999187059afffda4ca885dd54f8506df62516 /gcc | |
parent | 09f97c1e6c32a0f166a999f62d30544d14dd877d (diff) | |
download | gcc-272299b9cabbfe63101274564899222b737dede5.zip gcc-272299b9cabbfe63101274564899222b737dede5.tar.gz gcc-272299b9cabbfe63101274564899222b737dede5.tar.bz2 |
sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
* sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
* haifa-sched.c (update_flow_info): Likewise.
From-SVN: r15589
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/haifa-sched.c | 1 | ||||
-rw-r--r-- | gcc/sched.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9424fd9..ac47a53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk> + + * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p. + * haifa-sched.c (update_flow_info): Likewise. + Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com) * Makefile.in (BOOT_CFLAGS): Use -O2. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 16b1e20..d80d850 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -7906,6 +7906,7 @@ update_flow_info (notes, first, last, orig_insn) /* ??? This won't handle multiple word registers correctly, but should be good enough for now. */ if (REG_NOTE_KIND (note) == REG_UNUSED + && GET_CODE (XEXP (note, 0)) != SCRATCH && !dead_or_set_p (insn, XEXP (note, 0))) PUT_REG_NOTE_KIND (note, REG_DEAD); diff --git a/gcc/sched.c b/gcc/sched.c index 477782b..1db9005 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -3801,6 +3801,7 @@ update_flow_info (notes, first, last, orig_insn) /* ??? This won't handle multiple word registers correctly, but should be good enough for now. */ if (REG_NOTE_KIND (note) == REG_UNUSED + && GET_CODE (XEXP (note, 0)) != SCRATCH && ! dead_or_set_p (insn, XEXP (note, 0))) PUT_REG_NOTE_KIND (note, REG_DEAD); |