re PR c++/43719 (uninitialized const member incorrectly accepted, using an array)
authorFabien ChĂȘne <fabien.chene@gmail.com>
Mon, 10 May 2010 18:37:45 +0000 (18:37 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 May 2010 18:37:45 +0000 (14:37 -0400)
commit34655c9e682dcc87387798714a8ad812a0427299
tree99bfd917483d7c8ebb3eadf53457cb4020d453a2
parent1de12eab7496fe7a8a03e83efbbf6dd6318c3aa0
re PR c++/43719 (uninitialized const member incorrectly accepted, using an array)

PR c++/43719
* decl.c (check_initializer): strip array type before checking for
uninitialized const or ref members.

From-SVN: r159242
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/anon-struct4.C
gcc/testsuite/g++.dg/init/pr43719.C [new file with mode: 0644]