From 132d20400815ef1052a4221883a01fd0238b624d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 22 Jun 1997 06:47:16 -0400 Subject: [PATCH] (force_to_mode): Don't do anything for a ASM_OPERANDS insn. From-SVN: r14287 --- gcc/combine.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/combine.c b/gcc/combine.c index 5e32b5c..44cca31 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -5968,9 +5968,10 @@ force_to_mode (x, mode, mask, reg, just_select) unsigned HOST_WIDE_INT fuller_mask, nonzero; rtx op0, op1, temp; - /* If this is a CALL, don't do anything. Some of the code below - will do the wrong thing since the mode of a CALL is VOIDmode. */ - if (code == CALL) + /* If this is a CALL or ASM_OPERANDS, don't do anything. Some of the + code below will do the wrong thing since the mode of such an + expression is VOIDmode. */ + if (code == CALL || code == ASM_OPERANDS) return x; /* We want to perform the operation is its present mode unless we know -- 2.7.4