This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r156760 - in /trunk/gcc: cp/ChangeLog cp/semant...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 14 Feb 2010 15:17:31 -0000
- Subject: r156760 - in /trunk/gcc: cp/ChangeLog cp/semant...
Author: jason
Date: Sun Feb 14 15:17:30 2010
New Revision: 156760
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156760
Log:
PR c++/41997
* semantics.c (finish_compound_literal): Use
cp_apply_type_quals_to_decl when creating a static variable.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist-opt.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog