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]
Other format: [Raw text]

Re: [3.4-BIB] Turn on MS bitfields for Interix


On Mon, Nov 04, 2002 at 10:00:33PM -0800, Douglas B Rupp wrote:
> 	* config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
> 	MASK_MS_BITFIELD_LAYOUT
> 	(SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
> 	MS bitfields for Objective-C.
> 	(PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
> 	defines.
> 
> 	* config/i386/i386.c (ix86_ms_bitfield_layout): New function.
> 	(TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
> 	(TARGET_USE_MS_BITFIELD_LAYOUT): Define.
> 
> 	* config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
> 	TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
> 	(TARGET_SWITCHES): Add above mask.
> 
> 	* testsuite/gcc.dg/bf-ms-layout.c: New test case.
> 	* testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
> 	* testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
> 	flags for interix.

Ok.


r~


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