r135734 - in /trunk/gcc: ChangeLog cp/cp-tree.h...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed May 21 19:56:00 GMT 2008
Author: jakub
Date: Wed May 21 19:56:03 2008
New Revision: 135734
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135734
Log:
PR c++/36023
* cp-tree.h (check_array_initializer): New prototype.
* decl.c (check_array_initializer): New function.
(check_initializer): Call it.
* semantics.c (finish_compound_literal): Call it for ARRAY_TYPEs.
* g++.dg/ext/complit10.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/complit10.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list