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: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rl at tempest-sw dot com
- Date: 4 Nov 2002 15:13:29 -0000
- Subject: Re: c++/8427: internal error on ambiguous function template
- Reply-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, rl at tempest-sw dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: internal error on ambiguous function template
State-Changed-From-To: feedback->open
State-Changed-By: bangerth
State-Changed-When: Mon Nov 4 07:13:28 2002
State-Changed-Why:
Attachment provided:
---------------------------
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>());
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8427