From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A23A385842C; Tue, 20 Dec 2022 13:00:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A23A385842C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671541249; bh=gfXUIt18PoKMOGFWTPE74BTR9n5H6ejFxliJVmUoJdA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fom7p0yZ9rxGgWE1RuUlK996TOA/7qYmDxp95L1lzp/nT+TiE8et65UAE+oNXWFXv vV/KkLNdMeDaIm/nC8IPfm9TJGa6YjhwVJP5SNfWJo2tplWbQ7sB/BWZpVQgtTZorb PWWTFRqzcUcea+BlReZI9T4u1HKYOyeWsiRulE7I= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65673] [10/11/12/13 Regression] Compound literal with initializer for zero-sized array drops other initializers Date: Tue, 20 Dec 2022 13:00:48 +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: 4.9.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_fail 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=3D65673 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2015-04-17 00:00:00 |2022-12-20 CC| |mpolacek at gcc dot gnu.org Known to fail| |13.0 --- Comment #8 from Richard Biener --- Another option would be to report an error for this? Anyway, re-confirmed.= =20 Marek - you had a patch, any updates here?=