GNU bug report logs - #31688
26.1.50; Byte compiler confuses two string variables

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Sat, 2 Jun 2018 17:53:01 UTC

Severity: normal

Tags: notabug

Found in version 26.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: Gemini Lasswell <gazally <at> runbox.com>, 31688 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> gmail.com>, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz <at> gnu.org>
Subject: bug#31688: 26.1.50; Byte compiler confuses two string variables
Date: Sun, 03 Jun 2018 15:05:23 +0200
On Jun 04 2018, Phil Sainty <psainty <at> orcon.net.nz> 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 <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 7 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.