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#54990: Byte compiler bug Date: Mon, 2 May 2022 15:45:25 +0200 Message-ID: References: <1417691E-D86C-4318-9320-BA5B0E162C55@acm.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23003"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 54990@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 02 15:46:11 2022 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 1nlWNP-0005ki-7z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 15:46:11 +0200 Original-Received: from localhost ([::1]:33216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlWNN-0001PE-RV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 09:46:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlWNG-0001Ot-Nx for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 09:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlWNG-0003jh-FO for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 09:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlWNG-0003Fv-6L for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 09:46: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: Mon, 02 May 2022 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54990 X-GNU-PR-Package: emacs Original-Received: via spool by 54990-submit@debbugs.gnu.org id=B54990.165149913812480 (code B ref 54990); Mon, 02 May 2022 13:46:02 +0000 Original-Received: (at 54990) by debbugs.gnu.org; 2 May 2022 13:45:38 +0000 Original-Received: from localhost ([127.0.0.1]:35191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlWMr-0003FD-Kj for submit@debbugs.gnu.org; Mon, 02 May 2022 09:45:37 -0400 Original-Received: from mail1458c50.megamailservers.eu ([91.136.14.58]:45504 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlWMp-0003Ey-LY for 54990@debbugs.gnu.org; Mon, 02 May 2022 09:45:36 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1651499128; bh=HpTxAb5cYu3CoJ0rYaWTVhsTLv1/a6qo0yDOSPhpmIw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=HHaoN0UgaNoHOUMtcwOTUGKBOCvEOrJoQ6/yohuOGAP5pXC+FygO+yfD0w002jJic A50T+10N3/RLlQxjZmd8k6C319HovswS8Fq+LdJVPC1IXVzC9/1uyKO+kis+CbSv3D cyRjNQDbSmoCU47VFtG/4D9G1b52LQ84BuShqGuM= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 242DjQhm031266; Mon, 2 May 2022 13:45:27 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A742F23.626FE078.008F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE 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" Xref: news.gmane.io gmane.emacs.bugs:231258 Archived-At: 21 apr. 2022 kl. 11.49 skrev Alan Mackenzie : > This is now clear. byte-compile is compiling a form, not source code, > so unless the form was read with symbol positions, it won't have them. > In byte-compile-file, symbol positions are stripped as the byte code > gets output to the file.elc. So the symbol positions were not in the > ..elc. >=20 > Only in compile-defun were there positions, and they "survived". Thank you for dealing with this. My next question would be why the bug = only affected switch hash table keys and no other constants. Do you = know? And why did you decide to strip the keys at that point (lowering from = LAP), and not where other constants are stripped? I see that you have committed more corrections since; were these = related?