This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38850] [4.4 Regression] Cannot find inline friend function in template class when called from within a template function
- 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: 16 Jan 2009 06:08:25 -0000
- Subject: [Bug c++/38850] [4.4 Regression] Cannot find inline friend function in template class when called from within a template function
- References: <bug-38850-17188@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 06:08 -------
Subject: Bug 38850
Author: jason
Date: Fri Jan 16 06:08:09 2009
New Revision: 143423
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143423
Log:
PR c++/38850
* pt.c (tsubst_copy_and_build): Tell finish_call_expr to
accept hidden friends.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/koenig6.C
- copied unchanged from r143422,
trunk/gcc/testsuite/g++.dg/template/koenig6.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/pt.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850