From a2a1a505f35fa23fd941d2b3f369aa4d82e21acb Mon Sep 17 00:00:00 2001 From: kenner Date: Thu, 24 Sep 1992 11:09:49 +0000 Subject: [PATCH] (mark_set_resources, case CC0): Set RES->CC if IN_SEST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2228 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reorg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index 1b0fdfb..f2f1d76 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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 -- 2.7.4