Subject: bug#31688: 26.1.50; Byte compiler confuses two string variables

From: Andreas Schwab <[email-masked]>
Date: Sun, 03 Jun 2018 15:05:23 +0200

On Jun 04 2018, Phil Sainty <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."