The attached change removes the C condition from the PA indirect jump since it 
depended
on operands[] and this isn't generally allowed in named patterns.

Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11.  Committed to trunk 
and active
branches.

Dave
--
John David Anglin       dave.ang...@bell.net


2015-07-04  John David Anglin  <dang...@gcc.gnu.org>

        PR target/66114
        * config/pa/pa.md (indirect_jump): Use pmode_register_operand instead
        of register_operand.  Remove constraint.

Index: config/pa/pa.md
===================================================================
--- config/pa/pa.md     (revision 225280)
+++ config/pa/pa.md     (working copy)
@@ -6844,8 +6844,8 @@
 
 ;;; 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")])

Reply via email to