cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
authorMumit Khan <khan@xraylith.wisc.edu>
Tue, 14 Dec 1999 07:06:05 +0000 (07:06 +0000)
committerMumit Khan <khan@gcc.gnu.org>
Tue, 14 Dec 1999 07:06:05 +0000 (07:06 +0000)
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.

From-SVN: r30903

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

index 446631b787f1bf12f23894aaa531ccd1bf1a838b..fa64aa675f9077311441cfa284bc6ae570f41e77 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 78501c8ac601d12bb029c0de8d1cab233abcb6dd..a21daf1d5105e5f71e6595bce1966dac1385f8d7 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 dfeddcc8ca278d8e06b3892648dd33d87fd364ce..ce6a34ef940300408ed309564a9f25f195740838 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