From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#64642: 29.0.92; Native compiler doesn't compile dynamically bound functions. Date: Wed, 19 Jul 2023 11:31:14 +0000 Message-ID: References: <838rbhcxg0.fsf@gnu.org> <83v8ei7c9p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Andrea Corallo , 64642-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 13:32:16 2023 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 1qM5Pk-0000sz-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 13:32:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM5PY-0004cF-Fs; Wed, 19 Jul 2023 07:32:04 -0400 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 1qM5PW-0004bo-9i for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 07:32:02 -0400 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 1qM5PW-00085y-1o for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 07:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qM5PV-0005OH-Tc for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 07:32:01 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 11:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64642 X-GNU-PR-Package: emacs Mail-Followup-To: 64642@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 64642-done@debbugs.gnu.org id=D64642.168976628420664 (code D ref 64642); Wed, 19 Jul 2023 11:32:01 +0000 Original-Received: (at 64642-done) by debbugs.gnu.org; 19 Jul 2023 11:31:24 +0000 Original-Received: from localhost ([127.0.0.1]:55084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM5Ot-0005NE-Sk for submit@debbugs.gnu.org; Wed, 19 Jul 2023 07:31:24 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:12483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM5Oq-0005Mx-JF for 64642-done@debbugs.gnu.org; Wed, 19 Jul 2023 07:31:21 -0400 Original-Received: (qmail 86323 invoked by uid 3782); 19 Jul 2023 13:31:14 +0200 Original-Received: from acm.muc.de (p4fe159a7.dip0.t-ipconnect.de [79.225.89.167]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 19 Jul 2023 13:31:14 +0200 Original-Received: (qmail 6039 invoked by uid 1000); 19 Jul 2023 11:31:14 -0000 Content-Disposition: inline In-Reply-To: <83v8ei7c9p.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:265523 Archived-At: Hello, Eli. On Mon, Jul 17, 2023 at 19:06:58 +0300, Eli Zaretskii wrote: > > From: Andrea Corallo > > Cc: Eli Zaretskii , 64642@debbugs.gnu.org > > Date: Mon, 17 Jul 2023 09:42:31 -0400 > > >> It is unlikely that this will be fixed in Emacs 29, unless the fix is > > >> so simple that will surprise me. > > > Here is a fix. Its simplicity probably doesn't surprise you (Eli), but > > > the change is entirely within one function, and a lot of the patch is > > > just whitespace changes. > > > There are no problems running make bootstrap or make check with patch in > > > place. It also solves the bug; unless there are good reasons dynamically > > > bound functions weren't handled. Andrea? > > Hi Alan, > > the fix LGTM thanks for the patch, I think we only need to add a test as > > well to exercise this code, something like the "free-fun" test in > > comp-tests.el. > Alan, when the patch is ready, please install on master. DONE. I'm closing the bug with this post. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).