From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 295A03858D38; Thu, 28 Dec 2023 11:40:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 295A03858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703763621; bh=KKQO9CgAvVhJSgI1qLwzpW6fXjFrqPmNqwpLnh4x1MU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OtS+GT0kXgJxFZ00FcjESuDpDXX/06pBrUupm7jtVlMtFIDHl/gmppxOiBFad97kf uqhze0svG8D99PtMMXiqSkU38NDdOPgys4GA6SXeLLAY00VfjYQI5zDYEB0FW+P/SU Xm97i1koRho17bb1Kaq7p1YlOJeL1NRLCdk2c/V4= From: "adobriyan at gmail dot com" 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: Thu, 28 Dec 2023 11:40:20 +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: adobriyan at gmail dot com 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 #7 from Alexey Dobriyan --- > fancy C++ extension It is not fancy. C99 initialisers is the only feature where Modern C beats Modern C++.=