re PR c++/60859 (Value-initialization of scalar in aggregate yields "braces around...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 1 Dec 2014 18:52:05 +0000 (18:52 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 1 Dec 2014 18:52:05 +0000 (18:52 +0000)
commitad1f2178c1843170c80c027f62594dba3c600d69
tree761da3f0dd2614d8567ec71641cefb6bfbee0c98
parente250f0dcfe3caecaaf90fcb1a8337daee974b16f
re PR c++/60859 (Value-initialization of scalar in aggregate yields "braces around scalar initializer")

/cp
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60859
* decl.c (reshape_init_r): Do not reject value-initialization of
scalar array element.

/testsuite
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60859
* g++.dg/cpp0x/initlist88.C: New.

From-SVN: r218244
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist88.C [new file with mode: 0644]