From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25D5C3858D1E; Mon, 24 Apr 2023 18:19:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25D5C3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682360370; bh=6GrdrNjSOuwRNdGWN97jfSd8g1lPQDtMU+caXoxFjyA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WGzKKy5Hsnypi8hIbpuOTvR1at0HiJA/JbPwlozMIxSFyvNqjQg6ZR0hk/MRINyd0 z8ExbDORTH8gP47cGdw+gYaAQfmcrt0AMhI7XuGMLox20SL7wN/hk2QNIvLUUhiawp WVhmNUojWt0ZfxWy0FGl9LsanrpksGbh6Twg/v4E= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109598] [12/13/14 Regression] ICE: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.cc Date: Mon, 24 Apr 2023 18:19:29 +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.0 X-Bugzilla-Keywords: error-recovery, ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc 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=3D109598 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 Summary|ICE: tree check: expected |[12/13/14 Regression] ICE: |array_type, have error_mark |tree check: expected |in array_ref_low_bound, at |array_type, have error_mark |tree.cc |in array_ref_low_bound, at | |tree.cc --- Comment #3 from Andrew Pinski --- (In reply to Martin Li=C5=A1ka from comment #2) > Started with r12-3278-g823685221de986. I figured that caused this issue.=20 > it would be nice if the frontend wouldn't emit If the C front-end had its own AST, then it would be easier but it does not. Maybe we should not gimplify things if there was an error (from the front-e= nd); that might help.=