This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4909
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 20 Nov 2001 20:46:02 -0000
- Subject: Re: c++/4909
- Reply-to: Reichelt <reichelt at igpm dot rwth-aachen dot de>
[Get raw message]
The following reply was made to PR c++/4909; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, nickb@adacel.com.au, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Cc:
Subject: Re: c++/4909
Date: Tue, 20 Nov 2001 21:48:56 +0100
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