From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#65017: 29.1; Byte compiler interaction with cl-lib function objects, removes symbol-function Date: Thu, 3 Aug 2023 19:30:55 +0200 Message-ID: References: <8B08E514-B2D5-48F5-BA90-4F5A9492F8F9@gmail.com> <1D1BB407-D33F-4E55-9F60-7670736CD15D@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , 65017@debbugs.gnu.org, Eric Marsden To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 03 19:32:18 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 1qRcBN-0002Zl-Qv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Aug 2023 19:32:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRcBD-0003yv-KR; Thu, 03 Aug 2023 13:32:07 -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 1qRcBA-0003vx-1c for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 13:32:04 -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 1qRcB8-0007ho-E8 for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 13:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRcB8-0003zz-9g for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 13:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Aug 2023 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65017 X-GNU-PR-Package: emacs Original-Received: via spool by 65017-submit@debbugs.gnu.org id=B65017.169108386815284 (code B ref 65017); Thu, 03 Aug 2023 17:32:02 +0000 Original-Received: (at 65017) by debbugs.gnu.org; 3 Aug 2023 17:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:52863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRcAG-0003yS-7p for submit@debbugs.gnu.org; Thu, 03 Aug 2023 13:31:08 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:55778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRcAE-0003xq-FL for 65017@debbugs.gnu.org; Thu, 03 Aug 2023 13:31:06 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b9ba3d6157so19245801fa.3 for <65017@debbugs.gnu.org>; Thu, 03 Aug 2023 10:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691083860; x=1691688660; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=1APxneY36Zar095Vs8zRhq1Q8oPy+DHJPi/BkheX204=; b=osqqSwDLeWApurQ5/iawbQdKlP9DH/HokwsdpX2q1Lsvzn7Mw13brwjy40zBzv098v SJb/n3CtORmPZfGymWdWypHRR/hChmeyy0YcxvnIbacKU4UORBXyNguAqfnWQN0Tiuff U80PMaqOih8ZgVJRgtc6tr5LaDLQ362xE4H8DnzhoIKefVnL1XBEXtzzDIYiTd0JJXaA baEyMGidIq5Mq+vERrVlglLBNKwP7A3HRcFvewkobORqXxCyLhszkcHdA+g8qQNbRf9k L/87Ycuj7/75iZldOKPsIPm7AdWOtaVELgTBn0/b32ry0VXvsgXm/UbDuQ6MWe8TWeg2 iYew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691083860; x=1691688660; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1APxneY36Zar095Vs8zRhq1Q8oPy+DHJPi/BkheX204=; b=iAwtgHWFvCzz94G1rEi5rTYwcXlLOGWTJ9KXJnUD0iyYUlA84hkeOmldqokiLcp82F qJNehRy2pfLhedZyHcBiSP3Az+dWWlLNOf461LTvyVCZOqSEprx6G8fDokQ1Tz6/YRPc 5dPW8AioBSdCInnUqJnUQ/5y3NbTnqa5qcM2+vOf8PzY47s8ntKdLDPwX5jcBKLzL4tY vWWKP1kQB3nG0wlYsKLKoa+MdOEOaO72KXm2jqFfhXJYSV+tGDxnSo8CsG7XY5PDQ/5c qEtAdnMtCcetQEulHhrIPpsFu/Bam15UgXAn/AoDzd/FFbq7IbgO9xEWtDJ2ybWRhaXw QS3g== X-Gm-Message-State: ABy/qLbaUunNDg5oB2NufZezWJ8aHnC+piLGg2K2O+iyIoe4iCIi1oAK uL0toGmW/Kqc7o8bR9Ah020= X-Google-Smtp-Source: APBJJlFTxCepQiho0FNtdTQ2bFMiHgILjEpQr118JTwnhSefVAg+dGFirblmpnFZu3C10EB/a7n84Q== X-Received: by 2002:a05:651c:217:b0:2b6:a7dd:e22 with SMTP id y23-20020a05651c021700b002b6a7dd0e22mr7558346ljn.48.1691083860299; Thu, 03 Aug 2023 10:31:00 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id k3-20020a2e8883000000b002b9f1538816sm50723lji.80.2023.08.03.10.30.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2023 10:30:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:266613 Archived-At: 3 aug. 2023 kl. 18.53 skrev Mattias Engdeg=C3=A5rd = : >> Hmm... so a bug in the optimizer because the new `eq` semantics = breaks >> a previous assumption :-( >>=20 >> The positive side is that this optimization is less important for >> lexbind code. >=20 > Yes, but as it only applies to one particular variable that isn't = bound very often, I'm loath to remove it. For that matter it's not just = about dynamic variable bindings but other constructs using unbind. I checked and this particular optimisation (eq-unbind commutation) = doesn't affect the generated bytecode in the Emacs tree anywhere, so it = may be a candidate for removal after all.