c++/8427: internal error on ambiguous function template

Ray Lischner rl@tempest-sw.com
Sat Nov 2 07:46:00 GMT 2002


The following reply was made to PR c++/8427; it has been noted by GNATS.

From: Ray Lischner <rl@tempest-sw.com>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/8427: internal error on ambiguous function template
Date: Sat, 2 Nov 2002 07:43:57 -0800

 --------------Boundary-00=_91HYFASQ54ZWRRDTY1SH
 Content-Type: text/plain;
   charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 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/)
 --------------Boundary-00=_91HYFASQ54ZWRRDTY1SH
 Content-Type: text/x-c++src;
   charset="iso-8859-1";
   name="gcc01.cpp"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="gcc01.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>());
 }
 
 
 --------------Boundary-00=_91HYFASQ54ZWRRDTY1SH--



More information about the Gcc-prs mailing list