aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-13 08:45:11 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-13 08:45:11 -0400
commit7daa56f55b690b94cebc80b2ef8a7d486dca2e21 (patch)
tree939d6b0963d78e4f1451c3002418bdf0fcaf79e2 /gcc
parentc6b3160017551c3f962bebf37bc8acec9b8c88e0 (diff)
downloadgcc-7daa56f55b690b94cebc80b2ef8a7d486dca2e21.zip
gcc-7daa56f55b690b94cebc80b2ef8a7d486dca2e21.tar.gz
gcc-7daa56f55b690b94cebc80b2ef8a7d486dca2e21.tar.bz2
Don't #include stamp.h for WINNT.
(input_operand, case CONST): Allow ptr_mode and DImode. From-SVN: r9369
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index afa7168..3358573 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -322,7 +322,8 @@ input_operand (op, mode)
case LABEL_REF:
case SYMBOL_REF:
case CONST:
- return mode == DImode;
+ /* This handles both the Windows/NT and OSF cases. */
+ return mode == ptr_mode || mode == DImode;
case REG:
return 1;
@@ -1209,7 +1210,7 @@ direct_return ()
/* Write a version stamp. Don't write anything if we are running as a
cross-compiler. Otherwise, use the versions in /usr/include/stamp.h. */
-#ifndef CROSS_COMPILE
+#if !defined(CROSS_COMPILE) && !defined(WINNT)
#include <stamp.h>
#endif