From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDBAE38AA249; Mon, 5 Dec 2022 15:11:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDBAE38AA249 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670253101; bh=KP6ZCQA9kpl+Xi3I2xc4yiL6/Tk7PGA8ca2v5WiBzGg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JbzQJtRpCjcmDyq9JxQbxFbz7hYWKjLkP9pWD6J6SnxvIyBPd/C1wtAfzI4ZaEFWH xhq2x9qsfN3eDmcnEHJn1/kxuoHh6KY59qqQo0OcX4vsUxlwm3ok9VSlgKBT8H1fa8 hGE9pH5W7IskCtW9jsOJQNSI8PoOxbNsLsrtI7U4= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs Date: Mon, 05 Dec 2022 15:11:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: siddhesh 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=3D107952 --- Comment #4 from rguenther at suse dot de --- On Mon, 5 Dec 2022, siddhesh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107952 >=20 > --- Comment #2 from Siddhesh Poyarekar --- > The standard does not allow the nesting, but gcc supports it as an extens= ion. Does it allow the nesting when nested in a union?=