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 4f60a00..916ba93 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 2686f38..f5e6f79 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")])