OSDN Git Service

PR c++/41997
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Feb 2010 15:17:30 +0000 (15:17 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Feb 2010 15:17:30 +0000 (15:17 +0000)
commit98c209e2fcee1b50470884aa9a0d65ba072b7d02
treeb68209d0619d2bb1ccd80959b46646f170406e52
parent72c0c58fb67609987a44ef9533943a598583f72c
PR c++/41997
* semantics.c (finish_compound_literal): Use
cp_apply_type_quals_to_decl when creating a static variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist-opt.C [new file with mode: 0644]