diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-22 06:47:16 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-22 06:47:16 -0400 |
commit | 132d20400815ef1052a4221883a01fd0238b624d (patch) | |
tree | 50d989cc227819d4b190fa614b5c18b636fb1b0d /gcc | |
parent | 1997cb46f73354ff969abdd7d79f48e00d99c19d (diff) | |
download | gcc-132d20400815ef1052a4221883a01fd0238b624d.zip gcc-132d20400815ef1052a4221883a01fd0238b624d.tar.gz gcc-132d20400815ef1052a4221883a01fd0238b624d.tar.bz2 |
(force_to_mode): Don't do anything for a ASM_OPERANDS insn.
From-SVN: r14287
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/combine.c | 7 |
1 files 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 |