From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25790 invoked by alias); 5 May 2003 10:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25769 invoked by uid 71); 5 May 2003 10:16:02 -0000 Date: Mon, 05 May 2003 10:16:00 -0000 Message-ID: <20030505101602.25768.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" 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 Reply-To: "Giovanni Bajo" X-SW-Source: 2003-05/txt/msg00267.txt.bz2 List-Id: The following reply was made to PR c++/9649; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , 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