Mail Archives: cygwin-apps/2002/03/21/11:27:03

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Thu, 21 Mar 2002 11:26:49 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com, mingw-dvlpr <mingw-dvlpr AT lists DOT sourceforge DOT net>
Subject: Re: -fnative-structure revisited.
Message-ID: <>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com,
mingw-dvlpr <mingw-dvlpr AT lists DOT sourceforge DOT net>
References: <20020321073633 DOT 67411 DOT qmail AT web14506 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <>
User-Agent: Mutt/

On Thu, Mar 21, 2002 at 06:36:33PM +1100, Danny Smith wrote:
>I just stumbled across this is gcc 3.1 changelog:
>2002-02-05  Alexandre Oliva  <aoliva AT redhat DOT com>
>	* target.h (struct gcc_target): Added ms_bitfield_layout_p.
>	* target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
>	* doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
>	* tree.h (default_ms_bitfield_layout_p): Declare.
>	(record_layout_info): Added prev_field.
>	* tree.c (default_ms_bitfield_layout_p): New fn.
>	* c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
>	PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
>	* stor-layout.c: Include target.h.
>	(start_record_layout): Initialize prev_field.
>	(place_field): Handle MS bit-field layout, and disregard
>	PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
>	* (stor-layout.o): Adjust dependencies.
>Essentially, it provides a hook to do what Donn Terry's -fnative-struct 
>patch did.  Has anyone tested this yet on cygwin or mingw?  AFAICT, the
>only target to use a non-default version of this hook is sh (see

Does this mean that the layout defaults to MS automatically?

FWIW, I'm using a recent compiler from sourceware and it builds cygwin
just fine.


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019