aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-10-14 22:52:38 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-14 22:52:38 -0700
commit0c5912f4cb16e31120586672b09726635ea67d6b (patch)
tree3722dedf3de1c896ea8b8ff4a262cff69f2ab257 /gcc
parentccc5fd95b241d216fb93ff30384593c3b2df846e (diff)
downloadgcc-0c5912f4cb16e31120586672b09726635ea67d6b.zip
gcc-0c5912f4cb16e31120586672b09726635ea67d6b.tar.gz
gcc-0c5912f4cb16e31120586672b09726635ea67d6b.tar.bz2
alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF as the base of a PLUS.
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF as the base of a PLUS. From-SVN: r30002
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/alpha.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cda319d..2f91e05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
+
+ * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
+ as the base of a PLUS.
+
Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md: Define mode for remaining unspec operators.
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index f2f814f..0284110 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -1452,6 +1452,9 @@ do { \
&& CONSTANT_ADDRESS_P (XEXP (X, 1))) \
goto ADDR; \
} \
+ else if (GET_CODE (tmp) == ADDRESSOF \
+ && CONSTANT_ADDRESS_P (XEXP (X, 1))) \
+ goto ADDR; \
} \
}