From 5e0a7e4016ba1d5f03cce441a0310f291cca52cc Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 24 Mar 2011 10:03:40 +0000 Subject: [PATCH] predicates.md (jump_address_operand): Fix register mode check. gcc/ * config/h8300/predicates.md (jump_address_operand): Fix register mode check. From-SVN: r171384 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/predicates.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * config/h8300/predicates.md (jump_address_operand): Fix register + mode check. + 2011-03-24 Ira Rosen * 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) { -- 2.30.2