public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9649: [3.3/3.4 regression] ICE in finish_member_declaration at cp/semantics.c:1850 when redeclaring a static member variable
@ 2003-05-05 10:16 Giovanni Bajo
0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-05-05 10:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
The following reply was made to PR c++/9649; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<gendzwil@sedsystems.ca>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>
Cc:
Subject: Re: c++/9649: [3.3/3.4 regression] ICE in finish_member_declaration at cp/semantics.c:1850 when redeclaring a static member variable
Date: Mon, 5 May 2003 12:09:40 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9649
Actually, the code is ill-formed. §9.2p1 states "A member shall not be
declared twice in the member-specification, except that a nested class or
member class template can be declared and then later defined". So, this is a
3.3/3.4 regression because 2.95 correctly rejected the code with an error
message.
Giovanni Bajo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-05 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 10:16 c++/9649: [3.3/3.4 regression] ICE in finish_member_declaration at cp/semantics.c:1850 when redeclaring a static member variable Giovanni Bajo
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).