]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS.
authorJeff Law <law@gcc.gnu.org>
Thu, 11 Dec 1997 01:13:57 +0000 (18:13 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 11 Dec 1997 01:13:57 +0000 (18:13 -0700)
From-SVN: r17038

gcc/ChangeLog
gcc/combine.c

index e06b3698bf69109865b92bc54d555705496edeb2..68d46a304a3a756234d7db716de1474d42b4ea47 100644 (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.
index a96e4f765470627cc686a0938169b481d377d755..13e22b9bcd2978b8d9c0a6ecd0e1e4f983f1cbb2 100644 (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)))