From nobody Wed Mar 23 19:59:46 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 A25941A47296 for ; Wed, 23 Mar 2022 19:59:47 +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 4KNzhy4yN8z4VnJ for ; Wed, 23 Mar 2022 19:59:46 +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 75FAF1DE9 for ; Wed, 23 Mar 2022 19:59:46 +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 22NJxkAS046169 for ; Wed, 23 Mar 2022 19:59:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22NJxk8F046168 for bugs@FreeBSD.org; Wed, 23 Mar 2022 19:59:46 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: Wed, 23 Mar 2022 19:59:46 +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: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable12+ 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=1648065586; 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=9/0rBMam3+rBdeZv6rcoYX0R1w31OZRtrj2drfp9PU8=; b=C9kellhO3CKlUM137HeT6jqJqdK+Fcuq0bQN5L3VjxdouFuWPMcUqqV+pBoTsT7n8dIWCf dt1zQKWUMvc1C/8xEqELCu80OOqMHRL6hRfvs4KNhNQOVSrKFVUfFfOISP2xyNCvgopJPN gVRmPmMHgiFuQZ2lBo7T8fNW4hNQkS57PR4jFNRYuQtApPJXISC6SkID1oLPQfoCjC+b3e 3R1XAJwVckt5Z7x7fsJoquFpI+2QIAwmUMf+nItemRIlXT3VakastYEK1vrwRuBDpRuOdz EFr9HocqUO6peIjHG2ntXvqTiqxXEN2EtH8zlVgdXdm95BWay9e9FBHVSp+iCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648065586; a=rsa-sha256; cv=none; b=TN8excOo2SB9waUVll2LthVDRqOLvDgZs9/RhqlLlCnkHmZmyIb4ylD3Oz7GHK4Sq+U7OB cjs/EQZr7WPr9sHr1hiB0j0/2YBsn849YbKSmeIcOgPOt+cr3luwrRZaZLPGkAoeOkCj66 8jwaJ099ywDZrkDH2nlc2a6FiDW5Du5XSy8ZgeLBUcwOJ9HkuH6J3Tmyk3TODZyhr9FECI 9Mvv22DJpQ6uu5QyahhtBGo+6GtlzydCp0y7DPX9rkFIOlEeO4n3q4BIaRh9owt3M2P5wq nNvK2glM7Zz+2QiizbKL62cBvW+dcG43iznzCsY+1onSleC9j+dV9DjzY2xZLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262608 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc4cacdd447bae53964f439cb94acd9f5c= c6a4c14 commit c4cacdd447bae53964f439cb94acd9f5cc6a4c14 Author: Dimitry Andric AuthorDate: 2022-03-19 19:59:04 +0000 Commit: Dimitry Andric CommitDate: 2022-03-23 19:57:26 +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 (cherry picked from commit 1b3bef43e3cb7fb0ab49b813839915514c1134cc) 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.=