This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC and C89 Defect Report 106
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: GCC and C89 Defect Report 106
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 02 Jul 2000 10:18:26 -0600
- cc: Geoff Keating <geoffk at cygnus dot com>, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000701213927.A21757@wolery.cumb.org>you write:
> On Sat, Jul 01, 2000 at 09:02:20PM -0700, Geoff Keating wrote:
> > > This is not an important issue, except in so far as it means we are
> > > not 100% C89 conformant.
> >
> > Could you install these in the testsuite (as compile tests I guess),
> > and mark them as xfail, and put in a comment saying that they are from
> > DR106? That way at least we'll remember.
>
> I'll do better: here's the fix. Simple case of code not having been
> updated for the recent change that made void an incomplete type.
>
> zw
>
> * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
> and VOID_TYPE_P.
Fine.
> * gcc.c-torture/compile/20000701-1.c: New test.
What is the legal status of this code? ie, did you lift it from the ftp/web
site in your earlier message, and what is the copyright status of that code?
jeff