diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2015-07-04 13:42:55 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2015-07-04 13:42:55 +0000 |
commit | 26232bbbdae1a1fee034be9ce80831c10712623b (patch) | |
tree | e2908fb642ad73eef505ad9233ad259b0fa522ae /gcc | |
parent | 3958eee171b1d9c173e674031b0091097bb17a5a (diff) | |
download | gcc-26232bbbdae1a1fee034be9ce80831c10712623b.zip gcc-26232bbbdae1a1fee034be9ce80831c10712623b.tar.gz gcc-26232bbbdae1a1fee034be9ce80831c10712623b.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <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 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")]) |