From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 824413858D39; Sat, 20 Jan 2024 06:15:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 824413858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705731358; bh=RzSUrZB3zl+UiNkbtTXgCzrjNrWBJChb+Spude1ewnE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sf1Tt4fJ0t+4u1vxBRllHFyQZupD/1Y6Ndo1dJuV1nj6bNdmMeR6G3OloVV+h5vMQ x9RMmGP5px8jYrNntZY5xBcqJNBtaUxcpHwmfpoc/Dgh3NzNCcQnDgvjZ0Dt158SEp OGJyqvXFshUwZ78QWrdqhi6ahQXjWYmDbXQMg6q0= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/113492] [14 Regression] ICE: in composite_type_internal, at c/c-typeck.cc:557 with -std=c2x -funsigned-bitfields since r14-6808 Date: Sat, 20 Jan 2024 06:15:57 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: uecker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D113492 --- Comment #3 from Zdenek Sojka --- (In reply to uecker from comment #2) >=20 > I agree that "int:3" with -funsigned-bitfields should produce a type which > is compatible to one with "unsigned:3" and that forming a composite type > has to work. >=20 > I am not entirely sure this should be considered a regression as this C23 > feature did not exist before (but was rejected and did not ICE). Anyway,= I > will look at this and post a patch. Thanks for reporting. Thank you for having a look. The "regression" part is for the ICEing.=