This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++ ice with overloaded functions
- To: Theodore dot Papadopoulo at sophia dot inria dot fr
- Subject: Re: [PATCH] C++ ice with overloaded functions
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 25 Jun 2000 15:37:55 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200006231925.e5NJPsO16419@mururoa.inria.fr>
>>>>> "Theodore" == Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> writes:
Theodore> The testcase given below (I'm not sure I named it
Theodore> correctly) fails with the current version of gcc
Theodore> (actually 2000-06-19).
mururoa-> g++ unify8.C
Theodore> unify8.C: In function `void bar ()': unify8.C:12:
Theodore> Internal compiler error 390. unify8.C:12: Please submit
Theodore> a full bug report. unify8.C:12: See
Theodore> <URL:http://www.gnu.org/software/gcc/bugs.html> for
Theodore> instructions.
Thanks for your patch. I think a different approach is in order,
though. We shouldn't be calling arg_assoc_type for uninstantiated
function templates -- only for ordinary functions, or for
instantiations/specializations of function tempaltes. The
arg_assoc_type function is used to do Koenig lookup, and I don't think
that should be hapenning yet. Does that make sense?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com