From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18684 invoked by alias); 13 Feb 2004 05:47:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18665 invoked by uid 48); 13 Feb 2004 05:47:15 -0000 Date: Fri, 13 Feb 2004 05:47:00 -0000 From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040213054710.14136.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14136] New: [3.4?/3.5 Regression] double error message for typename used as destructor declarator X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg01383.txt.bz2 List-Id: Compile the following code you will recieve double the error message: struct A1 { typedef A1 A2; ~A2(); }; tt.cc:3: error: typedef-name `A1::A2' used as destructor declarator tt.cc:3: error: typedef-name `A1::A2' used as destructor declarator It worked in 3.5.0 20040204 but not in 3.5.0 20040212 found when running my testcase library. -- Summary: [3.4?/3.5 Regression] double error message for typename used as destructor declarator Product: gcc Version: 3.5.0 Status: UNCONFIRMED Keywords: diagnostic Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14136