From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61CE338582A8; Wed, 6 Mar 2024 06:44:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61CE338582A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709707480; bh=BeS0PWRclnStYPqgWkQQmsufD4pSFk8zk62T2DrG2Xo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jE2Ly3CFYTU7Vn2HAm+Z1APeRu+8SlMKtv/aiiXNbij2XrQA5uX01zHa7NtKyYFNB tpIQrNkfh8Zic+2jS6QbyuFO9tyr/H/dYlxl7+P3cXEa1tpT/hODXyMNVSf8Q5Luc4 nbs2Sy+0Mo+WOuyRHaaLgmNKGK91/FRO/DatnZSU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114245] Defaulted virtual destructors that do no work overwrite the vtable with `-O0` Date: Wed, 06 Mar 2024 06:44:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114245 --- Comment #1 from Andrew Pinski --- Created attachment 57622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57622&action=3Dedit Full testcase Next time please attach or paste inline the full testcase rather than just linking to godbolt.=