This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5950: g++ - Internal error: Segmentation fault
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gianni at mariani dot ws
- Date: Mon, 28 Oct 2002 00:31:17 +0200
- Subject: Re: c++/5950: g++ - Internal error: Segmentation fault
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