summaryrefslogtreecommitdiff
path: root/gcc/config/pa
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 /gcc/config/pa
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/predicates.md6
1 files changed, 6 insertions, 0 deletions
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);