From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#31688: 26.1.50; Byte compiler confuses two string variables Date: Sun, 03 Jun 2018 15:05:23 +0200 Message-ID: <87y3fw9g18.fsf@igel.home> References: <87a7sdkrft.fsf@runbox.com> <87po199id0.fsf@gmail.com> <5c6b2383ccd9c7d9b4058d249274b8c4@webmail.orcon.net.nz> <87d0x8agn3.fsf@gmail.com> <389bb1de5df69b513db3097aa3e000cb@webmail.orcon.net.nz> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528031050 17711 195.159.176.226 (3 Jun 2018 13:04:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2018 13:04:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Gemini Lasswell , bug-gnu-emacs , Noam Postavsky , 31688@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 03 15:04:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPSg1-0004XF-9H for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2018 15:04:05 +0200 Original-Received: from localhost ([::1]:35160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPSi7-0007Oo-SO for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2018 09:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPShz-0007Oc-63 for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 09:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPShu-0008Tu-8N for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 09:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPShu-0008TI-4R for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 09:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPSht-00053s-LU for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 09:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jun 2018 13:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31688-submit@debbugs.gnu.org id=B31688.152803112919412 (code B ref 31688); Sun, 03 Jun 2018 13:06:01 +0000 Original-Received: (at 31688) by debbugs.gnu.org; 3 Jun 2018 13:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:59867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPShM-000531-RP for submit@debbugs.gnu.org; Sun, 03 Jun 2018 09:05:28 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:40674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPShK-00052r-VL for 31688@debbugs.gnu.org; Sun, 03 Jun 2018 09:05:27 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40zJFx289Tz1qvnJ; Sun, 3 Jun 2018 15:05:25 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40zJFx0Kcdz1qsf3; Sun, 3 Jun 2018 15:05:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id FzhjTrtH-zXi; Sun, 3 Jun 2018 15:05:24 +0200 (CEST) X-Auth-Info: AQwIj1/9/+fQOGDkro6bRXRzrapDc5lHtuVrgCNhhpz1z8RdrS+KFNIUrxrJK5X0 Original-Received: from igel.home (ppp-188-174-159-147.dynamic.mnet-online.de [188.174.159.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 3 Jun 2018 15:05:24 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 9CDA32C4A7A; Sun, 3 Jun 2018 15:05:23 +0200 (CEST) X-Yow: I'm pretending that we're all watching PHIL SILVERS instead of RICARDO MONTALBAN! In-Reply-To: <389bb1de5df69b513db3097aa3e000cb@webmail.orcon.net.nz> (Phil Sainty's message of "Mon, 04 Jun 2018 00:32:25 +1200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146899 Archived-At: On Jun 04 2018, Phil Sainty wrote: > On 2018-06-03 11:54, Noam Postavsky wrote: >> What, you don't like optimization? ;) > > I generally dislike it when byte-compiled and interpreted code > give different results. This really has nothing to do with byte-compilation. Whether literals are shared or not should not be relied upon. You always have to be careful when modifying values in-place. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."