From c141a106c0d76ed3187df9bea5551f1178e4f0d9 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 1 May 1993 02:55:05 +0000 Subject: [PATCH] (subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0. From-SVN: r4291 --- gcc/combine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/combine.c b/gcc/combine.c index e900c7cc122..ee9c56b02d5 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -3817,11 +3817,13 @@ subst (x, from, to, in_dest, unique_copy) /* Simplify our comparison, if possible. */ new_code = simplify_comparison (old_code, &op0, &op1); -#if !defined (HAVE_cc0) && defined (EXTRA_CC_MODES) +#ifdef EXTRA_CC_MODES /* If this machine has CC modes other than CCmode, check to see if we need to use a different CC mode here. */ compare_mode = SELECT_CC_MODE (new_code, op0, op1); +#endif /* EXTRA_CC_MODES */ +#if !defined (HAVE_cc0) && defined (EXTRA_CC_MODES) /* If the mode changed, we have to change SET_DEST, the mode in the compare, and the mode in the place SET_DEST is used. If SET_DEST is a hard register, just build new versions with -- 2.30.2