This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] IA-32 bitfields (take 4)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Aldy Hernandez <aldyh at redhat dot com>, Geoffrey Keating <geoffk at redhat dot com>
- Date: Wed, 7 Aug 2002 12:53:27 -0400
- Subject: Re: [PATCH] IA-32 bitfields (take 4)
- References: <rth@redhat.com> <200208071649.MAA30966@makai.watson.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Aug 07, 2002 at 12:49:03PM -0400, David Edelsohn wrote:
> >>>>> Richard Henderson writes:
>
> Richard> The abi test needs to be
>
> Richard> if (DEFAULT_ABI == ABI_V4)
> Richard> {
> Richard> vector test
> Richard> }
> Richard> else
> Richard> {
> Richard> dfmode test.
> Richard> }
>
> Yes, that's probably better. It changes the definition for
> ABI_AIX_NODESC, but that has been wrong since it was placed in sysv4.h.
So it be
if (DEFAULT_ABI == ABI_V4)
{
vector test
}
else
{
dfmode test
}
return computed;
or
if (DEFAULT_ABI == ABI_V4)
{
vector test
}
else if (DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_DARWIN)
{
dfmode test
}
return computed;
then?
Jakub