From: Richard Sandiford Date: Thu, 24 Mar 2011 10:03:40 +0000 (+0000) Subject: predicates.md (jump_address_operand): Fix register mode check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e0a7e4016ba1d5f03cce441a0310f291cca52cc;p=gcc.git predicates.md (jump_address_operand): Fix register mode check. gcc/ * config/h8300/predicates.md (jump_address_operand): Fix register mode check. From-SVN: r171384 --- 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) {