From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 57A313858D39; Sat, 20 Jan 2024 06:23:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57A313858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705731821; bh=EBD/z7VlOe05G+Vx2tGNV1MDUOL4kFykFky+4+WVnvo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ro7512eYNKlAgUtyJl/ZssnXr/26eZ0I6X+FBZnydzNUcit/4MbllDbSlJ/w5SrWG C3xIGAZw9EX6fQ3Rm6ncP90iBMi92QohNX3xUe4OekHIO9FKGFuu3GCDqsCHYzPGsk 3txTt3uW5CwRGz6afTZH/FhHNIZhCocPqO1baO2w= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound) Date: Sat, 20 Jan 2024 06:23:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: 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=3D113520 --- Comment #3 from Andrew Pinski --- The code has: ``` struct bname builtin_names[] =3D { ... }; ``` header file: ``` extern struct name builtin_names[]; /* object-array of built-in's */ ``` Wich is underfined but in a different way than the reduced testcase.=