* combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS.

From-SVN: r17038
This commit is contained in:
Jeff Law 1997-12-10 18:13:57 -07:00
parent 8587487b11
commit f40421ce8c
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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)))