This is the mail archive of the gcc-prs@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]
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
 
 


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