summaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/predicates.md
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-28 16:03:00 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-28 16:03:00 +0000
commit68759e3fd092175485b3129f263d7a2f80d1ab75 (patch)
tree05d567caab4bdf16c7722f64c244f706413dc2c6 /gcc/config/epiphany/predicates.md
parentcc8ecce9cb1bc1b75db18a386b656a519ba0cb18 (diff)
downloadgcc-68759e3fd092175485b3129f263d7a2f80d1ab75.tar.gz
Adjust last change to plus_constant change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/epiphany/predicates.md')
-rw-r--r--gcc/config/epiphany/predicates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/epiphany/predicates.md b/gcc/config/epiphany/predicates.md
index f47f832c6e3..52c07b61d95 100644
--- a/gcc/config/epiphany/predicates.md
+++ b/gcc/config/epiphany/predicates.md
@@ -165,7 +165,7 @@
(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);
})
@@ -192,7 +192,7 @@
}
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 :