predicates.md (integer_store_memory_operand): Accept REG+D operands with a large...
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 5 Apr 2016 23:42:36 +0000 (23:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 5 Apr 2016 23:42:36 +0000 (23:42 +0000)
* 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.

From-SVN: r234765

gcc/ChangeLog
gcc/config/pa/predicates.md

index e5e195f..d0ae429 100644 (file)
@@ -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
index fbef6ae..447a04c 100644 (file)
 
   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);
 
   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);