c++/5950: g++ - Internal error: Segmentation fault
Reichelt
reichelt@igpm.rwth-aachen.de
Sun Oct 27 13:46:00 GMT 2002
The following reply was made to PR c++/5950; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
gianni@mariani.ws
Cc:
Subject: Re: c++/5950: g++ - Internal error: Segmentation fault
Date: Mon, 28 Oct 2002 00:31:17 +0200
Hi,
the code is in fact illegal, it already crashes gcc 2.95.x.
Here's a cleaned-up version testcase:
--------------snip here----------------------------
template <typename T> struct A
{
void foo () {}
};
template void A<int>::foo; // illegal, should be foo();
--------------snip here----------------------------
Greetings,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5950
More information about the Gcc-prs
mailing list