]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/pa/predicates.md
Update copyright years.
[thirdparty/gcc.git] / gcc / config / pa / predicates.md
index fbef6aee14ba8f2e00e670dee26ae66253817fb1..131ccbee2cd39b313ed9c9783c4e40dc7c665682 100644 (file)
@@ -1,5 +1,5 @@
 ;; Predicate definitions for HP PA-RISC.
-;; Copyright (C) 2005-2016 Free Software Foundation, Inc.
+;; Copyright (C) 2005-2020 Free Software Foundation, Inc.
 ;;
 ;; This file is part of GCC.
 ;;
      assumed in the instruction encoding.  */
   switch (mode)
     {
-    case BLKmode:
-    case QImode:
-    case HImode:
+    case E_BLKmode:
+    case E_QImode:
+    case E_HImode:
       return true;
 
+    case E_VOIDmode:
+      return false;
+
     default:
       return (INTVAL (op) % GET_MODE_SIZE (mode)) == 0;
     }
 
   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);