* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 05:52:38 +0000 (05:52 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 05:52:38 +0000 (05:52 +0000)
        as the base of a PLUS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30002 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/alpha.h

index cda319d..2f91e05 100644 (file)
@@ -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.
index f2f814f..0284110 100644 (file)
@@ -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;                                                      \
     }                                                                  \
 }