From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95E64384B11C; Wed, 24 Apr 2024 02:21:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95E64384B11C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713925287; bh=C8jqcXi5oXgEhRr1nK6afAm/zeqiDPqp3roo2Bd5hmQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yuTmdy+y5/qNaTKF0K3t12n+0DS9EAWrr4xnvBamw2UN1eytiXTRl26/QXk97rhHQ DkR2lXaAd3I63NQ+4YeqdT8oVi/GA/Rf8v1D90R/zo7NSvDPqzMSErCje2tYKyS5Ar 6TYqNSXor8j0tGcJG3Zz2D9Vhzeswy7dEMQRp76I= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/114723] ICE when checking for type compatibility with structure that contains flexible array member (C23) Date: Wed, 24 Apr 2024 02:21:26 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 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=3D114723 --- Comment #4 from Andrew Pinski --- (In reply to Halalaluyafail3 from comment #3) > Just tested on godbolt again=20 Oh this is with `-g -std=3Dc23`, godbolt has an implicit -g. Anyways here is the ICE: : In function 'main': :11:1: error: 'TYPE_CANONICAL' is not compatible 11 | } | ^=