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: [PATCH] MS Bitfields for Interix


----- Original Message -----
From: "Douglas B Rupp" <rupp@gnat.com>
To: "Geoff Keating" <geoffk@geoffk.org>
Cc: <gcc-patches@gcc.gnu.org>
Sent: Tuesday, 10 September 2002 05:11
Subject: Re: [PATCH] MS Bitfields for Interix


> > Also, somewhere in the release notes (perhaps the NEWS file?) there
> > should be mention that the ABI has changed under these
circumstances.
>
> I cannot find a gcc/NEWS file, only an ONEWS file.
>
> > Are MS bitfields different under Interix (compared to, say, cygwin)?
> > If they are not, it would be better to put the flags in
> > TARGET_SWITCHES and TARGET_DEFAULT and so on, not special-case
> > Interix.
> >
>
> After talking to some Cygwin/MingW users we feel its a good long term
> goal to move the option to the TARGET_* macros but premature at this
time.
> We want the option
> to  be the default on Interix, but don't want to make this decision
for
> other subtargets.

FWIW,  mingw and cygwin binary distributions of 3.1 and 3.2 have been
built with an earlier version
of the patch to stor-layout.c. (as well as defining the
TARGET_USE_MS_BITFIELD_LAYOUT and a MASK_MS_BITFIELD_LAYOUT to activate
it).

This has allowed building and testing of packages (eg GTK) which require
msvc rules bitfield compatability.

The changes are incorporated in the cygwin-mingw-gcc-3_2-branch of CVS.

The intention is to  submit the new feature part
(TARGET_USE_MS_BITFIELD_LAYOUT, MASK_MS_BITFIELD_LAYOUT)  for mingw
after 3.3 branch

 Danny

>


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