This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C99 designated initializers (take 3)
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: [PATCH] C99 designated initializers (take 3)
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 9 Jan 2001 05:30:05 -0500
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20001207231510.K552@sunsite.ms.mff.cuni.cz> <Pine.LNX.4.30.0101090959150.21936-100000@kern.srcf.societies.cam.ac.uk>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
On Tue, Jan 09, 2001 at 10:02:16AM +0000, Joseph S. Myers wrote:
> On Thu, 7 Dec 2000, Jakub Jelinek wrote:
>
> > Ok, 3rd attempt of the designated initializer patch.
> > It tests for warnings when initializers with side-effects are overwritten,
> > has hard error messages when array designators exceed bounds (and tests for
> > them, with dg-error and not dg-hard-error since I'm not a dejagnu hacker),
> > has all of -std=c89, -std=c99 and -std=gnu99 tests, even for obsolete
> > syntax.
> > Unlike 2 days old patch, this one also does not issue warnings about missing
> > braces with -Wall when push_init_level is done because of designator list.
> > Also, it allows non-constant initializer elements with
> > -std=c99 -pedantic-errors.
> > Bootstrapped, tested on i386-redhat-linux.
> > Ok to commit?
>
> What's the status of this patch - could someone review it if not already
> reviewed? I'd like to see this in GCC 3.0.
The patch was not reviewed yet and I'd like to see it in GCC 3.0 too.
I'm going to update this for current CVS today and post it afterwards.
Jakub