(mark_set_resources, case CC0): Set RES->CC if IN_SEST.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Sep 1992 11:09:49 +0000 (11:09 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Sep 1992 11:09:49 +0000 (11:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2228 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reorg.c

index 1b0fdfb..f2f1d76 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