From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1068C3860758; Thu, 23 Nov 2023 15:08:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1068C3860758 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700752123; bh=KzEEm+MaI6wzFFXflyyVACJp4goVfgA5T62QXljATeE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qFC8ZAQxFH2NqE4nn5wuggcB2c9bVNPsX/VSbKry/dyxdvWCp1PCUsiLoyXOFYDFH 1h9/fFhFO5N0xicAcUMv2OmuPSG6n5dUu6qjby2wRqwwB6o8l3jrGV/qzCEoURDuME KZoJWEb1X2NFxTOZY/xoQurLdJ+jO/FnkiB0eE9c= From: "paisanafc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112666] Missed optimization: Value initialization zero-initializes members with user-defined constructor Date: Thu, 23 Nov 2023 15:08:42 +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: 11.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paisanafc at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: resolution bug_status 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=3D112666 Francisco Paisana changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #3 from Francisco Paisana --- This ended up being a misinterpretation of the C++ standard.=