Re: [PATCH] Fix logic for detection of zero initializer (PR c/53119)

2014-06-04 Thread S. Gilles
On Wed, Jun 04, 2014 at 03:15:02PM +0200, Marek Polacek wrote: > On Mon, Jun 02, 2014 at 12:58:53AM -0400, S. Gilles wrote: > > Thanks for tackling this. > > > @@ -6858,6 +6858,9 @@ > > /* 1 if this constructor is erroneous so far. */ > > static int constructor

[PATCH] Fix logic for detection of zero initializer (PR c/53119)

2014-06-01 Thread S. Gilles
test case. If this is approved, could someone commit it for me, as I do not have access? S. Gilles 2014-06-01 S. Gilles gcc/ChangeLog: PR c/53119 c/ * c-typeck.c (push_init_level, process_init_element, pop_init_level): Correct check for zero initialization, move