From ba12108c7a4d3fdee5ab99920a2c2bdd5d3430e7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 24 Sep 1992 07:09:49 -0400 Subject: [PATCH] (mark_set_resources, case CC0): Set RES->CC if IN_SEST. From-SVN: r2228 --- gcc/reorg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index 1b0fdfb15d9..f2f1d761c5d 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