From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F716384B835; Thu, 27 Oct 2022 15:23:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F716384B835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666884220; bh=sqPiAkdoNPiFBfh4cJW9RvolPa126lmQ/R23b/V5g8E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VvZQvhCBrBGfpEYknWAraAKzbGuQ0oH3+uHjDmuzvdLFDoV20n2pJGxYr1ePjFZJr 8sbXfwHzYCyNLsGwDZ1s5mDUfVximsHo4sNDleOrcLzYMd9qUJlvmsVpIelHkuUWl4 EcyRL5ogv0hqHomNu84qdIinuxh9RJdZo23yfXas= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107435] [13 Regression] ice in build_vector_from_val, at tree.cc:2125 Date: Thu, 27 Oct 2022 15:23:39 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: 13.0 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=3D107435 --- Comment #1 from David Binderman --- Reduced C code seems to be: struct qlist_head { struct qlist_head *next } qlist_add(struct qlist_head *new, struct qlist_head *head) { struct qlist_head *prev =3D head; new->next =3D head->next; prev->next =3D new; } struct { struct qlist_head queue_link } free_list, prealloc[]; dbpf_open_cache_initialize() { int i =3D 0; for (; i < 64; i++) qlist_add(&prealloc[i], &free_list); }=