From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB9C53858D3C; Mon, 24 Apr 2023 07:12:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB9C53858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682320338; bh=lvqnkbZsy50Csujdafkx7IoB7ty/rPOGZr+7elDTxag=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WuuRasUmtGp0/NqlHAvGKhiUwjIwIQ/tSh26txK2z1lc1BJMl4eyDeQgWQKZj/Jyx DtQpZTKFnx3IsOC18tk38VDWIijJh0ROf0jgWiLLnmmQ7tiW6UNx2vk5/oASUGTNne 5VSnxEfxAiaVz+DsB/DOZUVOzlZNxel6nrBvHYFM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109598] ICE: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.cc Date: Mon, 24 Apr 2023 07:12:18 +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: rguenth 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed 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 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-04-24 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. While it's possible to fend this off during gimplification it w= ould be nice if the frontend wouldn't emit unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff71e33f0 precision:8 min max pointer_to_this > unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff71eee70 reference_to_this > constant arg:0 arg:0 addressable used public external read BLK t.c:1:13 align:8 warn_if_not_align:0 context chain > arg:1 t.c:5:12 start: t.c:5:11 finish: t.c:5:14> t.c:5:10 start: t.c:5:10 finish: t.c:5:14> specifically arg:0 arg:0 note the array_ref has type 'char' but the var_decl has type error_mark.=