This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28385] [4.0/4.1 regression] templated function call goes awry
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2006 16:27:14 -0000
- Subject: [Bug c++/28385] [4.0/4.1 regression] templated function call goes awry
- References: <bug-28385-12959@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jason at gcc dot gnu dot org 2006-08-18 16:27 -------
Subject: Bug 28385
Author: jason
Date: Fri Aug 18 16:27:03 2006
New Revision: 116243
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116243
Log:
PR c++/28385
* pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
if arg is a function.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/const1.C
- copied unchanged from r116203,
trunk/gcc/testsuite/g++.dg/template/const1.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/pt.c
branches/gcc-4_0-branch/gcc/cp/search.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28385