This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]