From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 114F23856969; Fri, 12 May 2023 12:54:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 114F23856969 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683896078; bh=50FLfxYucIAkLlFGtb7reU6E1tmbfTLK00M8nFRTS0Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HjOdT2yxBKdEq7DCst4GF4zBHbPnOBBNBaO5E4bdmvQv8i1RaFBvpybDjPEcNkxqm pDW5Yk9Am50ZjqtSYUpuGpQ16ehE2WZlfUFFAGe5Q/qLatTXQ4ssLr2PPPZjlt0llQ QNhOFLdBebjZoIzz6gvtFqe3+MH2nRaN8lPsnYYA= From: "yann at droneaud dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109828] C2x:static compound literal (with flexible array) in initializer leads to invalid size and ICE Date: Fri, 12 May 2023 12:54:37 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yann at droneaud dot fr 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: cc 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=3D109828 Yann Droneaud changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann at droneaud dot fr --- Comment #1 from Yann Droneaud --- I should mention GCC trunk (gcc 14.0.0 20230510 on godbolt.org) is experien= cing ICE without the need to call __builtin_object_size().=