diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2011-03-24 10:03:40 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-03-24 10:03:40 +0000 |
commit | 5e0a7e4016ba1d5f03cce441a0310f291cca52cc (patch) | |
tree | fefa98a0b7d30a43fce4f8566b50bcc5ef03b15a | |
parent | ba9796cb424640d79dcb2cc70f818fb67fcef453 (diff) |
predicates.md (jump_address_operand): Fix register mode check.
gcc/
* config/h8300/predicates.md (jump_address_operand): Fix register
mode check.
From-SVN: r171384
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/predicates.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5cd6e3def5d..907c83b5121 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> + + * config/h8300/predicates.md (jump_address_operand): Fix register + mode check. + 2011-03-24 Ira Rosen <ira.rosen@linaro.org> * doc/invoke.texi (max-stores-to-sink): Document. diff --git a/gcc/config/h8300/predicates.md b/gcc/config/h8300/predicates.md index 895698b8221..d1b7d42d921 100644 --- a/gcc/config/h8300/predicates.md +++ b/gcc/config/h8300/predicates.md @@ -259,7 +259,7 @@ (match_code "reg,mem") { if (GET_CODE (op) == REG) - return mode == Pmode; + return GET_MODE (op) == Pmode; if (GET_CODE (op) == MEM) { |