]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/44045 (initialization of array of shared_ptr's with initializer list causes...
authorJason Merrill <jason@redhat.com>
Mon, 10 May 2010 18:37:56 +0000 (14:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 May 2010 18:37:56 +0000 (14:37 -0400)
commiteaa9d009d8563f4224f58e982a962662d3b5ea06
treec22516bdca0cac3cfcac3c2e9b60621bf52287c6
parent34655c9e682dcc87387798714a8ad812a0427299
re PR c++/44045 (initialization of array of shared_ptr's with initializer list causes compiler segfault)

PR c++/44045
* typeck.c (cp_build_modify_expr): Complain about assignment to
array from init list.

From-SVN: r159243
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist26.C
gcc/testsuite/g++.dg/cpp0x/initlist28.C
gcc/testsuite/g++.dg/cpp0x/initlist33.C [new file with mode: 0644]