This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4909
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, nickb at adacel dot com dot au, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Tue, 20 Nov 2001 21:48:56 +0100
- Subject: Re: c++/4909
[Get raw message]
Hi,
a smaller testcase for this bug is:
template <class T> struct A {};
struct B
{
static A<int> a;
void f() { a; }
};
A<int> B::a = A<int>();
This crashes on mips-sgi-irix6.5 with gcc 3.0.x.
The bug is probably target dependent, because I couldn't reproduce it
under i686-pc-linux-gnu.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4909&database=gcc