1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
authorkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 07:06:05 +0000 (07:06 +0000)
committerkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 07:06:05 +0000 (07:06 +0000)
* cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
* cppfiles.c (INO_T_EQ): Likewise.

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

gcc/ChangeLog
gcc/cccp.c
gcc/cppfiles.c

index 446631b..fa64aa6 100644 (file)
@@ -1,5 +1,10 @@
 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
 
+       * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
+       * cppfiles.c (INO_T_EQ): Likewise.
+
+1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
+
        * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
        * i386/mingw32.h (LIB_SPEC): Likewise.
        (STARTFILE_SPEC): Likewise.
index 78501c8..a21daf1 100644 (file)
@@ -84,8 +84,9 @@ static void hack_vms_include_specification ();
 #define INCLUDE_LEN_FUDGE 12   /* leave room for VMS syntax conversion */
 #endif /* VMS */
 
-/* Windows does not natively support inodes, and neither does MSDOS.  */
-#if (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN)) \
+/* Windows does not natively support inodes, and neither does MSDOS. 
+   Cygwin's emulation can generate non-unique inodes, so don't use it. */
+#if (defined (_WIN32) && ! defined (_UWIN)) \
   || defined (__MSDOS__)
 #define INO_T_EQ(a, b) 0
 #endif
index dfeddcc..ce6a34e 100644 (file)
@@ -57,10 +57,11 @@ static void hack_vms_include_specification PROTO ((char *));
 #endif
 
 /* Windows does not natively support inodes, and neither does MSDOS.
+   Cygwin's emulation can generate non-unique inodes, so don't use it.
    VMS has non-numeric inodes. */
 #ifdef VMS
 #define INO_T_EQ(a, b) (!bcmp((char *) &(a), (char *) &(b), sizeof (a)))
-#elif (defined _WIN32 && !defined CYGWIN && ! defined (_UWIN)) \
+#elif (defined _WIN32 && ! defined (_UWIN)) \
        || defined __MSDOS__
 #define INO_T_EQ(a, b) 0
 #else