(mark_set_resources, case CC0): Set RES->CC if IN_SEST.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 24 Sep 1992 11:09:49 +0000 (07:09 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 24 Sep 1992 11:09:49 +0000 (07:09 -0400)
From-SVN: r2228

gcc/reorg.c

index 1b0fdfb15d97f1a5b27243b50ff064d731fbc461..f2f1d761c5d309b022975e71d58542b7487e086f 100644 (file)
@@ -432,10 +432,14 @@ mark_set_resources (x, res, in_dest, include_called_routine)
     case SYMBOL_REF:
     case CONST:
     case PC:
-    case CC0:
       /* These don't set any resources.  */
       return;
 
+    case CC0:
+      if (in_dest)
+       res->cc = 1;
+      return;
+
     case CALL_INSN:
       /* Called routine modifies the condition code, memory, any registers
         that aren't saved across calls, global registers and anything