http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-27 20:15:56 UTC --- 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