From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12368 invoked by alias); 18 Mar 2003 00:46:19 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 12318 invoked by uid 48); 18 Mar 2003 00:46:18 -0000 Date: Tue, 18 Mar 2003 00:46:00 -0000 Message-ID: <20030318004618.12313.qmail@sources.redhat.com> To: Marco.Franzen@bigfoot.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, Marco.Franzen@bigfoot.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10126: ICE in convert_nontype_argument on using overload resolution in template args X-SW-Source: 2003-03/txt/msg01190.txt.bz2 List-Id: Old Synopsis: ICE on template code New Synopsis: ICE in convert_nontype_argument on using overload resolution in template args State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Tue Mar 18 00:46:18 2003 State-Changed-Why: Confirmed: ------------------- struct B { int I () const; int I (); }; struct D : B {}; template int Get(); int main () { Get<&B::I>(); } ----------------------- g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc x.cc: In function `int main()': x.cc:11: internal compiler error: in convert_nontype_argument, at cp/pt.c:3313 This never worked, 2.95 went into a memory hungry infinite loop, later versions ICEd. W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10126