predicates.md (jump_address_operand): Fix register mode check.

gcc/
	* config/h8300/predicates.md (jump_address_operand): Fix register
	mode check.

From-SVN: r171384
This commit is contained in:
Richard Sandiford 2011-03-24 10:03:40 +00:00 committed by Richard Sandiford
parent ba9796cb42
commit 5e0a7e4016
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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)
{