This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175557 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 20:15:50 -0000
- Subject: r175557 - in /branches/gcc-4_6-branch/gcc: cp/C...
Author: jason
Date: Mon Jun 27 20:15:49 2011
New Revision: 175557
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175557
Log:
PR c++/49418
* call.c (cxx_type_promotes_to): Don't strip cv-quals.
* semantics.c (lambda_return_type): Strip them here.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/param3.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/call.c
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog