r220263 - in /trunk/gcc: c/ChangeLog c/c-typeck...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Thu Jan 29 21:02:00 GMT 2015


Author: mpolacek
Date: Thu Jan 29 21:02:21 2015
New Revision: 220263

URL: https://gcc.gnu.org/viewcvs?rev=220263&root=gcc&view=rev
Log:
	PR c/64709
	* c-typeck.c (pop_init_level): If constructor_elements has
	exactly one element with integer_zerop value, set constructor_zeroinit
	to 1.  Remove braces around warning_init call.

	* gcc.dg/pr64709.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr64709.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list