From: John David Anglin Date: Sat, 4 Jul 2015 13:42:55 +0000 (+0000) Subject: re PR target/66114 (some indirect_jump patterns use operands[] in their condition... X-Git-Tag: upstream/12.2.0~53764 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26232bbbdae1a1fee034be9ce80831c10712623b;p=platform%2Fupstream%2Fgcc.git 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 --- 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")])