From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5CFA3858D33; Mon, 6 Nov 2023 08:14:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5CFA3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699258478; bh=AtunR9UD0I+UM+6xBELYdxtPlfhUAmoSU32C3Mndif8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k66qckyfnBovmpfUwQLz/IGOtDF4YLmrVGJkLJvJ6Y50WxY54Y/p3pz1JGWPP1JRg gq3fWob+Swd3K8E7fbWgzNib5gIplC6KIAPq9G4XzCKSQ68yuQ87JItYzvr2QRWDvq nqtETsNgWtyjovzoAg6W6vRHQfLGLX9Pjf2RN+bA= From: "alexander.grund@tu-dresden.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112370] -Wfree-nonheap-object in std::vector dtor on sapphirerapids with -O3 Date: Mon, 06 Nov 2023 08:14:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: diagnostic, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.grund@tu-dresden.de 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: 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=3D112370 --- Comment #2 from Alexander Grund --- FWIW: I tried to run cvise on this however it created an invalid example wh= ere indeed a non-heap pointer would be freed. I'll attach it anyway for referen= ce as it took hours to run the reduce=