This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

win32 patch 1 -- HANDLE_PRAGMA support



Patch needed in conjunction with Nick Clifton's HANDLE_PRAGMA patch.

Regards,
Mumit -- khan@xraylith.wisc.edu

Sat Aug 29 13:32:58 1998  Mumit Khan  <khan@xraylith.wisc.edu>

	* i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
	(PCC_BITFIELD_TYPE_MATTERS): Define to be 0.

 
Index: egcs-1.1/gcc/config/i386/cygwin32.h
diff -u egcs-1.1/gcc/config/i386/cygwin32.h:1.1.1.1 egcs-1.1/gcc/config/i386/cygwin32.h:1.2
--- egcs-1.1/gcc/config/i386/cygwin32.h:1.1.1.1	Tue Sep  1 14:41:13 1998
+++ egcs-1.1/gcc/config/i386/cygwin32.h	Tue Sep  1 15:37:26 1998
@@ -454,3 +454,11 @@
 #undef DEFAULT_PCC_STRUCT_RETURN
 #define DEFAULT_PCC_STRUCT_RETURN 0
 
+/* No data type wants to be aligned rounder than this.  */
+#undef	BIGGEST_ALIGNMENT
+#define BIGGEST_ALIGNMENT 128
+
+/* A bitfield declared as `int' forces `int' alignment for the struct.  */
+#undef PCC_BITFIELDS_TYPE_MATTERS
+#define PCC_BITFIELDS_TYPE_MATTERS 0
+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]