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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/combine.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e06b369..68d46a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 10 18:14:10 1997 Jeffrey A Law (law@cygnus.com) + + * combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS. + Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com> * crtstuff.c (__do_global_ctors): Fix typo. @@ -28,7 +32,7 @@ Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com) All references changed. * rtl.h: Protect from multiple inclusions. Add many prototypes. -Tue Dec 9 01:15:15 199 Fred Fish <fnf@ninemoons.com>7 +Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com> * libgcc2.c (string.h): Hoist inclusion to occur before first use of string functions like strlen. 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))) |