public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8036: ICE on initialization of static const member
@ 2002-10-27  7:26 Reichelt
  0 siblings, 0 replies; only message in thread
From: Reichelt @ 2002-10-27  7:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/8036; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, meixner@informatik.tu-darmstadt.de,
        gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/8036: ICE on initialization of static const member
Date: Sun, 27 Oct 2002 18:16:08 +0200

 Hi,
 
 the following shorter code snippet exposes the same problem:
 
 ------------------------snip here--------------------------
 template <typename T> struct A
 {
   static const int t[1][1]={{0}};
 };
 ------------------------snip here--------------------------
 
 The code is still not quite legal, but is accepted by gcc 2.95.x and
 3.0.x (it is only rejected when "-pedantic" is specified).
 
 Alas, the 3.2 branch and the mainline issue an ICE on the code.
 That's definitely a regression and thus marked "high priority".
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8036
 
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-27 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-27  7:26 c++/8036: ICE on initialization of static const member Reichelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).