summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/predicates.md
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 10:03:40 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 10:03:40 +0000
commit92070737a64d884627df3eba51790c5eddfed78c (patch)
treefefa98a0b7d30a43fce4f8566b50bcc5ef03b15a /gcc/config/h8300/predicates.md
parent13e0756f3136273e37795d0543af124665bd70b7 (diff)
downloadgcc-92070737a64d884627df3eba51790c5eddfed78c.tar.gz
gcc/
* config/h8300/predicates.md (jump_address_operand): Fix register mode check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171384 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/predicates.md')
-rw-r--r--gcc/config/h8300/predicates.md2
1 files changed, 1 insertions, 1 deletions
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)
{