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.
From-SVN: r135735
-2008-05-21 Jakub Jelinek <jakub@redhat.com>
-
- 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.
-
2008-05-21 Kai Tietz <kai.tietz@onevision.com>
PR/36280
+2008-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ 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.
+
2008-05-21 Tom Tromey <tromey@redhat.com>
* mangle.c (save_partially_mangled_name): Remove.