From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74771: Native compilation bug with struct predicates when lexical binding enabled (HEAD) Date: Wed, 11 Dec 2024 14:32:15 +0200 Message-ID: <86ldwm4cz4.fsf@gnu.org> References: <0446a656-1fa2-4160-a8ba-69c060a52589@risk-engineering.org> <87frmvmbnb.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6542"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74771@debbugs.gnu.org, eric.marsden@risk-engineering.org To: Pip Cet , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 13:33:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tLLu1-0001Qs-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 13:33:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLLtp-0006BG-I0; Wed, 11 Dec 2024 07:33:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLLtn-0006B7-7y for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 07:33:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLLtm-00087W-Gs for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 07:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=9ZzBinerJzUgxjjvjYHlP+RfNUvA0YNgXHOTyeSegAc=; b=qk5YjQTprbT3YLl0MGnPbK0bPGoSBbaYeZBmg61KCLyQU4whqvnaTWcsTd+0uf6MIkmhijsxwfdCUJOUPTqcjNr6mGIm17Vx4hglL8mSd+uJjOobAYHfdOmTi0N8I7p79go2OeiAdvkZmPcOoqZKArFI5PAsAFq0HRHCfrV2FbpbUj1uos+WqWwFHY09AHufkqDw6T1DoRep0Yu9Lxm6bOfc+rMsPwnekrNpzan539Hp4WHIGXOpYgYPIgED0gKbCPbhQWnimUtoff90PxmWR+iVYbRa+r/ALSZIUBKzz5sBsqy42zku/sq4PvihJrv9JwODLmZ+n4COpOJ1RY+klA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLLtm-0004Qx-4i for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 07:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 12:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74771 X-GNU-PR-Package: emacs Original-Received: via spool by 74771-submit@debbugs.gnu.org id=B74771.173392035116983 (code B ref 74771); Wed, 11 Dec 2024 12:33:02 +0000 Original-Received: (at 74771) by debbugs.gnu.org; 11 Dec 2024 12:32:31 +0000 Original-Received: from localhost ([127.0.0.1]:33347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLLtH-0004Pq-3Z for submit@debbugs.gnu.org; Wed, 11 Dec 2024 07:32:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLLtF-0004PX-AM for 74771@debbugs.gnu.org; Wed, 11 Dec 2024 07:32:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLLt8-000832-N7; Wed, 11 Dec 2024 07:32:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9ZzBinerJzUgxjjvjYHlP+RfNUvA0YNgXHOTyeSegAc=; b=ez0QWNcz+0sG MS7ohonddI7179sRD/pn9h/wJhvIc7nYLk+NBgAHA4Td3AqGzQvtos41FgNEz2QY7tkeFrZ+jea5N e5lGBPJW/EWWgUI1sEwhiHYPpFzu5MCH7NydiDYIOtSc+RBu3J/bL9D39SHrk3UvYos+DqTcrKuhh hcZkCPH5Q5ReuH5GxJ2/47PxPgh69Z/KBa7V9V2hKZrzLCsX1uM8DVvFBN/UXgLhaD512GjokF03c xVvsAoOKMsSIcMQ4fAJAFmfJOQ7CoqokqiRGZxc7THEfVwYLAf3ModlMapeIyCpfRJ/rFDj3busZG UAfTG03/FxIbPxUsjN+7hQ==; In-Reply-To: <87frmvmbnb.fsf@protonmail.com> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296822 Archived-At: > Cc: 74771@debbugs.gnu.org > Date: Tue, 10 Dec 2024 22:12:03 +0000 > From: Pip Cet via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Pip Cet writes: > > > IIUC, the code blindly assumes that cond-jump would use t as its second > > argument. In your code, the second argument was nil, so the assumptions > > were put into the wrong basic blocks. > > I did not understand correctly. It seems cond-jump is still limited to > a nil second argument, which is an undocumented assumption that comp.el > continues to rely on. > > I still think comp--emit-assume does the wrong thing when negating an > assumption, but we've been there before... Let's hear from Andrea (CC'ed) about this.