[Bug c/52880] -Woverride-init emitts unexpected error
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 25 09:14:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52880
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-25 09:14:14 UTC ---
Author: jakub
Date: Wed Apr 25 09:14:02 2012
New Revision: 186808
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186808
Log:
PR c/52880
* c-typeck.c (set_nonincremental_init,
set_nonincremental_init_from_string): Pass true instead of false
as IMPLICIT to add_pending_init.
* gcc.dg/pr52880.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr52880.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list