From nobody Sat Mar 19 20:00:11 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BB9B11A2C363 for ; Sat, 19 Mar 2022 20:00:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KLWvH5pWmz3LfR for ; Sat, 19 Mar 2022 20:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 90BE41943A for ; Sat, 19 Mar 2022 20:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22JK0BY7022877 for ; Sat, 19 Mar 2022 20:00:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22JK0Bv6022876 for bugs@FreeBSD.org; Sat, 19 Mar 2022 20:00:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262608] Clang assertion failed in 14-CURRENT compiling old versions of Wine Date: Sat, 19 Mar 2022 20:00:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647720012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wsD4xJXCkj0tc0hl+TyVhiwbMkJmnxPkojj4K5M0Vvk=; b=oM/uA9U0Actoocmn2u3cuWxKsI/dJWC/C5zF38BUiWHRnzhxfFx4qSdWhb5HK2Dbof/Vp6 0aaq0q7hvfHSxXBNTxkBtByM0L+OXtNTcvDl8pOadpqzf2oRvuWYJdmHwhGw3ZzDLIUi5N Hw9PkaQJGoBl1O9FDcdHHZp4P9i/k9HGKle1MvFpnfr5peQb+eldN2QXFL/Cwwsc2ME86u 7eDFz42TZZYP7WO9qb2D14Yus9HzrUMIjNpUltOIOJnItGgxK3l9BMj/J23ehFA7LoIGcA 6Ew1KU0XGS+Z0xmMVREk8QN/qyHuxEcXKJwddC9Bsx4vuKmA2GNAz8jiBDO8kQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647720012; a=rsa-sha256; cv=none; b=CM/qTTC8vICCevQxrr5Rn3h52PgRFCJXasDuftUScUP8JnSZD36e2R2UYOPbjiwhCmmh+O kLFyOUMXyGcz1aXqlZyHkIJrOP3m9kRqZNdQQRnnp3ufWgWDJjvjsCQ40OBJ48yaz/wi0x XcAac56oIv6yhdhzInb+/XS3ezso4IPlXCi2WymwO9Ezffh98wrT295FkG8+FTBZCOFeqO f97zLIJvhj9yQHxiKvpVcxUrPgJ6o8wrTf8n1KOu/5qtjJQF4bfBxWkykASsQIg0HrzYSi 89O7HP93O5bKUU+o94M89egYPB5m9coMefGSTWYjkE2bisbGly2LnSwCgH8AuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262608 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1b3bef43e3cb7fb0ab49b813839915514= c1134cc commit 1b3bef43e3cb7fb0ab49b813839915514c1134cc Author: Dimitry Andric AuthorDate: 2022-03-19 19:59:04 +0000 Commit: Dimitry Andric CommitDate: 2022-03-19 19:59:04 +0000 Apply llvm fix for assertion compiling certain versions of Wine Merge commit b9ca73e1a8fd from llvm git (by Stephen Tozer): [DebugInfo] Correctly handle arrays with 0-width elements in GEP salvaging Fixes an issue where GEP salvaging did not properly account for GEP instructions which stepped over array elements of width 0 (effectivel= y a no-op). This unnecessarily produced long expressions by appending `... + (x * 0)` and potentially extended the number of SSA values used in the dbg.value. This also erroneously triggered an assert in the salvage function that the element width would be strictly positive. These issues are resolved by simply ignoring these useless operands. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D111809 PR: 262608 Reported by: Damjan Jovanovic MFC after: 3 days contrib/llvm-project/llvm/lib/IR/Operator.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=