[Bug c++/44193] [4.3/4.4/4.5/4.6 Regression] function types, cv-quals and typename
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 19 15:45:00 GMT 2010
------- Comment #1 from jason at gcc dot gnu dot org 2010-05-19 15:44 -------
Subject: Bug 44193
Author: jason
Date: Wed May 19 15:44:08 2010
New Revision: 159575
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159575
Log:
PR c++/44193
* pt.c (tsubst) [TYPENAME_TYPE]: Discard cv-quals on
function/reference type.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/fntype1.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/qualttp20.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44193
More information about the Gcc-bugs
mailing list