From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20115 invoked by alias); 31 Jan 2005 23:17:18 -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 20074 invoked by uid 48); 31 Jan 2005 23:17:11 -0000 Date: Mon, 31 Jan 2005 23:17:00 -0000 From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050131231708.19733.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19733] New: [3.4/4.0 regression] ICE on invalid destructor call X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg04692.txt.bz2 List-Id: The following invalid code snippet causes an ICE since gcc 3.4.0: ================================== struct A {}; void foo() { A().A::~~A(); } ================================== Mainline's error message reads: bug.cc: In function 'void foo()': bug.cc:2: error: expected class-name before '~' token bug.cc:2: error: expected `;' before '~' token bug.cc:2: internal compiler error: in gimplify_expr, at gimplify.c:4065 Please submit a full bug report, [etc.] -- Summary: [3.4/4.0 regression] ICE on invalid destructor call Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19733