[Bug c++/28385] [4.0/4.1/4.2 regression] templated function call goes awry

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 17 00:51:00 GMT 2006



------- Comment #6 from jason at gcc dot gnu dot org  2006-08-17 00:51 -------
Subject: Bug 28385

Author: jason
Date: Thu Aug 17 00:51:37 2006
New Revision: 116203

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116203
Log:
        PR c++/28385
        * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
        if arg is a function.

Added:
    trunk/gcc/testsuite/g++.dg/template/const1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28385



More information about the Gcc-bugs mailing list