From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A3213858D33; Tue, 28 Feb 2023 17:09:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A3213858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677604166; bh=kZOiUsw5TYeukpN1oJIWjaGxqvIk+kinGQvuOfVkVxg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uxuZgSMgb9WsTeQ/3jGq+A2k4i/XzxitfeFP+Rx3dQu5qlmxyuj508P+5KG9S5gwu L0gUDc/uUbFvS9tdkm7gI6hPDaIe2fN5eMY+KR9Kj/r/VwY7m0UCWCcNlWCuhYLGDl nINADm2ZEJ+/vNwGeINZLJfm1sFOJnx703hoHxvw= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97956] [11 Regression] ICE in build2, at tree.c:4872 since r11-2709-g866626efd749ed3e Date: Tue, 28 Feb 2023 17:09:23 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.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=3D97956 --- Comment #5 from Jonathan Wakely --- (In reply to G. Steinmetz from comment #0) > typedef __INT8_TYPE__ int8_t; > typedef __INT32_TYPE__ int32_t; > extern void* memchr (const void*, int, long); For the record, the signature above is wrong (the third parameter should be size_t not long), and that's what caused the ICE. (So I think this should really be ice-on-invalid-code since it has a bad declaration of memchr).=