summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-05 23:42:36 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-05 23:42:36 +0000
commitb782fee611330cd2698f2230952f56fc88d39f48 (patch)
tree1c2e65941092c64a8c09819e1ae8f20fccb04ca2
parent645a9d8e38464eb6dcf748a67c3c01448195f0a8 (diff)
downloadgcc-b782fee611330cd2698f2230952f56fc88d39f48.tar.gz
* config/pa/predicates.md (integer_store_memory_operand): Accept
REG+D operands with a large offset when reload_in_progress is true. (floating_point_store_memory_operand): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234765 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/predicates.md6
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e5e195fd746..d0ae429b49d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2016-04-05 John David Anglin <danglin@gcc.gnu.org>
+
+ * config/pa/predicates.md (integer_store_memory_operand): Accept
+ REG+D operands with a large offset when reload_in_progress is true.
+ (floating_point_store_memory_operand): Likewise.
+
2016-04-05 Jakub Jelinek <jakub@redhat.com>
PR c++/70336
diff --git a/gcc/config/pa/predicates.md b/gcc/config/pa/predicates.md
index fbef6aee14b..447a04c090b 100644
--- a/gcc/config/pa/predicates.md
+++ b/gcc/config/pa/predicates.md
@@ -301,6 +301,9 @@
if (reg_plus_base_memory_operand (op, mode))
{
+ if (reload_in_progress)
+ return true;
+
/* Extract CONST_INT operand. */
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);
@@ -335,6 +338,9 @@
if (reg_plus_base_memory_operand (op, mode))
{
+ if (reload_in_progress)
+ return true;
+
/* Extract CONST_INT operand. */
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);