From 26232bbbdae1a1fee034be9ce80831c10712623b Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 4 Jul 2015 13:42:55 +0000 Subject: [PATCH] re PR target/66114 (some indirect_jump patterns use operands[] in their condition when they shouldn't) PR target/66114 * config/pa/pa.md (indirect_jump): Use pmode_register_operand instead of register_operand. Remove constraint. From-SVN: r225412 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f60a00..916ba93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-04 John David Anglin + + PR target/66114 + * config/pa/pa.md (indirect_jump): Use pmode_register_operand instead + of register_operand. Remove constraint. + 2015-07-04 Marc Glisse * tree-cfg.c (verify_gimple_assign_ternary) : Check diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 2686f38..f5e6f79 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -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")]) -- 2.7.4