]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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:46:23 +0000 (23:46 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 5 Apr 2016 23:46:23 +0000 (23:46 +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: r234767

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

index 85c80bab06a1458905743bd7127fb06c8343409b..fd415c9487a46dc2bad974569ae974260f26204b 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  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/70510
index 405cf7f63c32b1f82f3dbcc2b122c935e07b9bca..6968f50a01be1f82e63eaebe8663ae76fd9c725c 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);