OSDN Git Service

(sched_note_set): Set subreg_p for anything except a paradoxical subreg.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1992 22:57:42 +0000 (22:57 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1992 22:57:42 +0000 (22:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2464 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/sched.c

index be48e8e..435c265 100644 (file)
@@ -2042,11 +2042,10 @@ sched_note_set (b, x, death)
     {
       /* Must treat modification of just one hardware register of a multi-reg
         value or just a byte field of a register exactly the same way that
-        mark_set_1 in flow.c does.  */
-      if (GET_CODE (reg) == ZERO_EXTRACT
-         || GET_CODE (reg) == SIGN_EXTRACT
-         || (GET_CODE (reg) == SUBREG
-             && REG_SIZE (SUBREG_REG (reg)) > REG_SIZE (reg)))
+        mark_set_1 in flow.c does, i.e. anything except a paradoxical subreg
+        does not kill the entire register.  */
+      if (GET_CODE (reg) != SUBREG
+         || REG_SIZE (SUBREG_REG (reg)) > REG_SIZE (reg))
        subreg_p = 1;
 
       reg = SUBREG_REG (reg);