From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14433 invoked by alias); 7 Jun 2007 22:11:53 -0000 Received: (qmail 14383 invoked by uid 48); 7 Jun 2007 22:11:41 -0000 Date: Thu, 07 Jun 2007 22:11:00 -0000 Subject: [Bug c++/32251] New: [4.1/4.2/4.3 regression] ICE on delete operator with ellipsis X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg00518.txt.bz2 The following code snippet triggers a segfault since GCC 3.4.0: ======================================= struct A { A(); void operator delete(void*,...); }; void foo() { new A; } ======================================= bug.cc: In function 'void foo()': bug.cc:9: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] Before we got an error message: bug.cc: In function `void foo()': bug.cc:9: error: no suitable `operator delete' for `A' I'm not quite sure, but I think the code is valid after all. -- Summary: [4.1/4.2/4.3 regression] ICE on delete operator with ellipsis Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32251