From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0CCA3857709; Mon, 21 Aug 2023 16:18:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0CCA3857709 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692634736; bh=Up1hKbKDbXQMNxP1I3K/VyxIhrV5ncviZ23GwvSZ96g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wNFoQn1wHpO3+X/mSkDeMkCaF6RAv/nvrQ3a3L/bi36+l7REhlMmZqynusaxDEpAC USz1PS7dT5306KnAYu8+GAi2k0iT3vBOsamGWqrmiBwH3rJEnOgAxWYawNaSiuJHJh GPvWdsfBeT0g1qOtt8Nm16fgCGB7VZtrpOHBfokg= From: "ed at catmur dot uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111090] Bogus -Wuninitialized for trivial copy of nested struct with partially initialized array Date: Mon, 21 Aug 2023 16:18:56 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ed at catmur dot uk 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=3D111090 --- Comment #1 from Ed Catmur --- uh, -O -Wall is necessary, obviously. https://godbolt.org/z/eT9dY467P=