From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20877 invoked by alias); 15 Dec 2001 15:56:01 -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 20863 invoked by uid 71); 15 Dec 2001 15:56:01 -0000 Date: Sat, 15 Dec 2001 07:56:00 -0000 Message-ID: <20011215155601.20862.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Dmitri Lenev Subject: Re: c++/5125: both g++ 3.0.1 and 2.95.3 crash with internal error when trying compile template method with parameter pointer to method Reply-To: Dmitri Lenev X-SW-Source: 2001-12/txt/msg00864.txt.bz2 List-Id: The following reply was made to PR c++/5125; it has been noted by GNATS. From: Dmitri Lenev To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/5125: both g++ 3.0.1 and 2.95.3 crash with internal error when trying compile template method with parameter pointer to method Date: Sat, 15 Dec 2001 18:53:23 +0300 Thanks a lot. So it is ice-on-illegal-code sort of bug. :-) Anyway i have resolved the problem by slightly changing my design approach... * rodrigc@gcc.gnu.org [01/12/15 18:23]: > Synopsis: both g++ 3.0.1 and 2.95.3 crash with internal error when trying compile template method with parameter pointer to method > > State-Changed-From-To: open->analyzed > State-Changed-By: rodrigc > State-Changed-When: Sat Dec 15 07:21:04 2001 > State-Changed-Why: > The compiler should probably not ICE, but your > code example is illegal. You made a spelling mistake in > one of the parameter names: > > --- t.cc.orig Sat Dec 15 10:19:55 2001 > +++ t.cc Sat Dec 15 10:20:01 2001 > @@ -49,7 +49,7 @@ > SerializationStream::serializeMember (unsigned int member, const I & item, > size_t (I:: > *serialization_function) > - (SerializationSream & stream) const) > + (SerializationStream & stream) const) > { > serialize (member); > size_t valueSize = item.*serialization_function (*this); > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5125 -- ó Õ×ÁÖÅÎÉÅÍ, äÍÉÔÒÉÊ ìÅÎÅ×.