From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 393E53858426; Sat, 16 Mar 2024 08:48:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 393E53858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710578893; bh=LsEzSKx2mfTv2niCvuZTyI8tf+QvEr0+rOZlLTjeDr4=; h=From:To:Subject:Date:From; b=bZT+xQG2p69pbEWuYgjD7udWu5vH9ohSThbWxy6iaYk9uQNe30DMXJvOOltdTv6Ml hwo9E9nlIqOF1wwSUl5flwTiasVMxdU/n8xuCAnoEVqcymS0Pez/SW4EYuFXdhWVOu /NsCinanBpSQkZlW9fA3NHkFholiLWIA0EV/EnhM= From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/114361] New: ICE with c23 when creating mutually nested and compatible types with statement expressions Date: Sat, 16 Mar 2024 08:48:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: muecker at gwdg dot de 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D114361 Bug ID: 114361 Summary: ICE with c23 when creating mutually nested and compatible types with statement expressions Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- This fails in verify_type (goes away with -fchecking=3D0): void f() { typedef struct foo bar; typedef __typeof( ({ (struct foo { bar *x; }){ }; }) ) wuz; struct foo { wuz *x; }; } https://godbolt.org/z/q7n5xbsc1=