c++/4909
Reichelt
reichelt@igpm.rwth-aachen.de
Fri Nov 9 10:19:00 GMT 2001
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
More information about the Gcc-bugs
mailing list