diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-12-10 18:13:57 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-10 18:13:57 -0700 |
commit | f40421ce8cec176baab909b8a58374f349e1a9b1 (patch) | |
tree | 01b4930182befd80ea9bede674011a10fefb7893 /gcc/combine.c | |
parent | 8587487b11704d61da546b5b791fcdd6374bfa4c (diff) | |
download | gcc-f40421ce8cec176baab909b8a58374f349e1a9b1.zip gcc-f40421ce8cec176baab909b8a58374f349e1a9b1.tar.gz gcc-f40421ce8cec176baab909b8a58374f349e1a9b1.tar.bz2 |
* combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS.
From-SVN: r17038
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index a96e4f7..13e22b9 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4097,6 +4097,9 @@ simplify_rtx (x, op0_mode, last, in_dest) if (GET_CODE (XEXP (x, 0)) == NEG) SUBST (XEXP (x, 0), XEXP (XEXP (x, 0), 0)); + if (GET_CODE (XEXP (x, 0)) == ASM_OPERANDS) + return x; + /* If operand is something known to be positive, ignore the ABS. */ if (GET_CODE (XEXP (x, 0)) == FFS || GET_CODE (XEXP (x, 0)) == ABS || ((GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))) |