aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2002-02-12 20:59:07 +0000
committerGraham Stott <grahams@gcc.gnu.org>2002-02-12 20:59:07 +0000
commitfc209487c0f969cef2e13f40fa2e0558b2b21322 (patch)
treeeb674a6dbaccd20e5bc5d89e51219b9a573ee3c2 /gcc
parentadb60117d7d4a06c13c6a74b0ed0bb9a863f30ea (diff)
downloadgcc-fc209487c0f969cef2e13f40fa2e0558b2b21322.zip
gcc-fc209487c0f969cef2e13f40fa2e0558b2b21322.tar.gz
gcc-fc209487c0f969cef2e13f40fa2e0558b2b21322.tar.bz2
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
From-SVN: r49711
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/pa.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 03b4b9e..3b3ea3b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-12 Graham Stott <grahams@redhat.com>
+
+ * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
+
2002-02-12 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 210a7f3..715ae81 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1286,12 +1286,12 @@ extern int may_call_alloca;
if (! TARGET_SOFT_FLOAT \
&& ! TARGET_DISABLE_INDEXING \
&& base \
- && (mode == SFmode || mode == DFmode) \
+ && ((MODE) == SFmode || (MODE) == DFmode) \
&& GET_CODE (index) == MULT \
&& GET_CODE (XEXP (index, 0)) == REG \
&& REG_OK_FOR_BASE_P (XEXP (index, 0)) \
&& GET_CODE (XEXP (index, 1)) == CONST_INT \
- && INTVAL (XEXP (index, 1)) == (mode == SFmode ? 4 : 8))\
+ && INTVAL (XEXP (index, 1)) == ((MODE) == SFmode ? 4 : 8))\
goto ADDR; \
} \
else if (GET_CODE (X) == LO_SUM \