This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
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
- From: rodrigc at gcc dot gnu dot org
- To: dlenev at spylog dot ru, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 15 Dec 2001 15:21:04 -0000
- 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: rodrigc at gcc dot gnu dot org, dlenev at spylog dot ru, 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
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