Adjust last change to plus_constant change.
authorJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 28 Nov 2012 16:03:00 +0000 (16:03 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 28 Nov 2012 16:03:00 +0000 (16:03 +0000)
From-SVN: r193895

gcc/config/epiphany/predicates.md

index f47f832c6e377782547234fdd37664af64f977e7..52c07b61d95ce405be38f1032e8b18c11234b814 100644 (file)
   (match_code "reg,subreg,mem,const_int,const_double,const_vector")
 {
   if (GET_CODE (op) == MEM && misaligned_operand (op, mode)
-      && !address_operand (plus_constant (XEXP (op, 0), 4), SImode))
+      && !address_operand (plus_constant (Pmode, XEXP (op, 0), 4), SImode))
     return 0;
   return general_operand (op, mode);
 })
        }
     case MEM :
       if (GET_MODE_SIZE (mode) == 8 && misaligned_operand (op, mode)
-         && !address_operand (plus_constant (XEXP (op, 0), 4), SImode))
+         && !address_operand (plus_constant (Pmode, XEXP (op, 0), 4), SImode))
        return 0;
       return address_operand (XEXP (op, 0), mode);
     default :