From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30D8F3858C60; Sat, 23 Dec 2023 17:45:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30D8F3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703353543; bh=qz+QMey6l5DDDizuX/gPRa5zcMjFUSb6Db1wIuxOP54=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vTJ1TJZODpJPmHVW2lE7UCTb3uhTI6zpK640rWHXCk8x4eNT9VcBCfiIB7olvjIss rOwV5BAB8KTSG9Fivp1Npz/cS6dwqCKWUWLYRHNRceTe3trXK0kwU4B2wZTEGnZa3J 1bWiUljKZIoOjW13hoUeauPtyFoa9RPoZhLm9NUM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113124] g++ should relax designated initialiser rules for trivial classes (read: C structures) and C arrays. Date: Sat, 23 Dec 2023 17:45: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: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 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=3D113124 --- Comment #4 from Andrew Pinski --- When you say C structures here you mean the standard layout types (or the C= ++98 older definition of PODs)? Or do you mean structure types which has no memb= er functions/constructors at all?=