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#61880: Native compilation fails to generate trampolines on certain scenarios Date: Sun, 05 Mar 2023 08:28:36 +0200 Message-ID: <83zg8r90ff.fsf@gnu.org> References: <877cw1l455.fsf@sergiodj.net> <83sfeofyi6.fsf@gnu.org> <87edq8hxom.fsf@sergiodj.net> <83v8jjeiq0.fsf@gnu.org> <875ybiemkm.fsf@sergiodj.net> <83mt4ucnsz.fsf@gnu.org> <831qm6cbpr.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9183"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sergiodj@sergiodj.net, 61880@debbugs.gnu.org, akrl@sdf.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 05 07:30:14 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 1pYhsr-0002FF-UA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Mar 2023 07:30:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYhsj-0001Nt-UV; Sun, 05 Mar 2023 01:30: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 1pYhsh-0001Nc-Ra for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 01:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYhsh-0003fh-IN for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 01:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYhsh-0003QV-EY for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 01:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Mar 2023 06:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61880 X-GNU-PR-Package: emacs Original-Received: via spool by 61880-submit@debbugs.gnu.org id=B61880.167799774713042 (code B ref 61880); Sun, 05 Mar 2023 06:30:03 +0000 Original-Received: (at 61880) by debbugs.gnu.org; 5 Mar 2023 06:29:07 +0000 Original-Received: from localhost ([127.0.0.1]:38254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYhrm-0003OI-M2 for submit@debbugs.gnu.org; Sun, 05 Mar 2023 01:29:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYhrk-0003Nm-Lo for 61880@debbugs.gnu.org; Sun, 05 Mar 2023 01:29:05 -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 1pYhrd-0003b9-JP; Sun, 05 Mar 2023 01:28:57 -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=yOCAf627fwzRP10NF0AMSvYKKLTthsYaCutZ1NA4VhQ=; b=quD6/mb/FHAI l+K/omBPqdtKDJhNbANDafd+XHEfJ5zfnlGKnHesLvbpKHQu+v9NkeArjcpUikGt/tOseCXLoSk8N d6YbzOjueWwnWFc0rSCxoIUpxAzA/6Zh205EUNX9jP71akK+XmU1ChMZ3ZXY4stWroDQO+WW5FDxo 0OhOPEl2aHkhhdx3t46DZ3lmcTZhhFx4SPHXQHxI+Gbbk+lgCEYQ6OqvtBP/5g9iuw4Qs0EPoF6kR 30Uzu5sYrpZ5EJaIEbTzzPs+sv3O/AIj3mw93cWS2UYAc2BipGFZ6m/urwEagXBv8Gn9rplZq7KOv CUasrVoPjuu20TL2YfBWQA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYhrS-0005Gu-SA; Sun, 05 Mar 2023 01:28:47 -0500 In-Reply-To: (message from Richard Stallman on Sat, 04 Mar 2023 23:03:57 -0500) 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:257336 Archived-At: > From: Richard Stallman > Cc: akrl@sdf.org, sergiodj@sergiodj.net, 61880@debbugs.gnu.org > Date: Sat, 04 Mar 2023 23:03:57 -0500 > > > > To a quick look into the trampoline machinery in comp.el I see we rely > > > on: > > > > > > null, memq, gethash, and, subrp, not, subr-native-elisp-p, > > > comp--install-trampoline, concat, if, symbolp, symbol-name, make-string, > > > length, aset, aref, length>, mapcar, expand-file-name, > > > file-name-as-directory, file-exists-p, native-elisp-load. > > There is nothing wrong with ignoring the return value of `aset'. That > is normal. We use it like `setq'. Do not make warnings for that. This is a misunderstanding, I think: this particular discussion is not about ignoring the return values, it is about redefining primitives while natively-compiling trampolines. I think you mixed this up with another discussion.