This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8427: internal error on ambiguous function template
- From: Ray Lischner <rl at tempest-sw dot com>
- To: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Sat, 2 Nov 2002 07:43:57 -0800
- Subject: Re: c++/8427: internal error on ambiguous function template
- Organization: Tempest Software
- References: <20021101233532.9081.qmail@sources.redhat.com>
- Reply-to: rl at tempest-sw dot com
On Friday 01 November 2002 03:35 pm, you wrote:
> Synopsis: internal error on ambiguous function template
>
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Fri Nov 1 15:35:32 2002
> State-Changed-Why:
> Please send us a testcase according to the Web page
> referenced in the compiler error
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&databas
>e=gcc&pr=8427
Your file attachment feature seems not to be working. Here is the file
again.
--
Ray Lischner, author of C++ in a Nutshell (forthcoming)
(http://www.tempest-sw.com/cpp/)
template<int i> struct g {};
template<int i, int j> void f(g<i/j>) { }
template<int i, int j> void f(g<j>) { }
int main()
{
f<4,2>(g<4/2>());
}