re PR target/66114 (some indirect_jump patterns use operands[] in their condition...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 4 Jul 2015 13:42:55 +0000 (13:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 4 Jul 2015 13:42:55 +0000 (13:42 +0000)
PR target/66114
* config/pa/pa.md (indirect_jump): Use pmode_register_operand instead
of register_operand.  Remove constraint.

From-SVN: r225412

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

index 4f60a00e92efceee868c8b25bdbb5465392d6ae2..916ba937319e83973c1531878492c609ee634acb 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-04  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR target/66114
+       * config/pa/pa.md (indirect_jump): Use pmode_register_operand instead
+       of register_operand.  Remove constraint.
+
 2015-07-04  Marc Glisse  <marc.glisse@inria.fr>
 
        * tree-cfg.c (verify_gimple_assign_ternary) <VEC_COND_EXPR>: Check
index 2686f383e9d4748ecf162f384237ac8db788b70a..f5e6f79e2c5d5ce47e65ddd5a2aef348f85aee0d 100644 (file)
 
 ;;; Hope this is only within a function...
 (define_insn "indirect_jump"
-  [(set (pc) (match_operand 0 "register_operand" "r"))]
-  "GET_MODE (operands[0]) == word_mode"
+  [(set (pc) (match_operand 0 "pmode_register_operand" "r"))]
+  ""
   "bv%* %%r0(%0)"
   [(set_attr "type" "branch")
    (set_attr "length" "4")])