From: Jeff Law Date: Thu, 11 Dec 1997 01:13:57 +0000 (-0700) Subject: * combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS. X-Git-Tag: releases/libf2c-0.5.21~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f40421ce8cec176baab909b8a58374f349e1a9b1;p=thirdparty%2Fgcc.git * combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS. From-SVN: r17038 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e06b3698bf69..68d46a304a3a 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 * 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 7 +Tue Dec 9 01:15:15 1997 Fred Fish * 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 a96e4f765470..13e22b9bcd29 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)))