]> gcc.gnu.org Git - gcc.git/commitdiff
sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Sat, 20 Sep 1997 00:52:52 +0000 (00:52 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 20 Sep 1997 00:52:52 +0000 (18:52 -0600)
        * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
        * haifa-sched.c (update_flow_info): Likewise.

From-SVN: r15589

gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched.c

index 9424fd900486fb5962f904a02ca9e06c5e547b60..ac47a5317296acaf02186e357046dd3c1819cc47 100644 (file)
@@ -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.
index 16b1e20a753ecb5946c9dfe3640b1e01e269e162..d80d850a28e1032008f592037e76ca45ede5e1e0 100644 (file)
@@ -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);
 
index 477782b2c32a70b20392304a2477a260735e42c2..1db9005d4bb611cfdc34bc0137088c12a262c87b 100644 (file)
@@ -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);
 
This page took 0.077432 seconds and 5 git commands to generate.