Don't #include stamp.h for WINNT.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 13 Apr 1995 12:45:11 +0000 (08:45 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 13 Apr 1995 12:45:11 +0000 (08:45 -0400)
(input_operand, case CONST): Allow ptr_mode and DImode.

From-SVN: r9369

gcc/config/alpha/alpha.c

index afa71680daddcc46a90827bccbb0cc31709780d7..335857300d4620ecf93ee7b1bbc08831e1614a31 100644 (file)
@@ -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