Subject: bug#31734: 26.1; byte-compile differs with cond eq 'default

From: Noam Postavsky <[email-masked]>
Date: Wed, 06 Jun 2018 08:19:54 -0400

merge 31734 31718
quit

Héctor Enríquez Ramón <[email-masked]> writes:

> The code below shows opposite behavior byte-compiled:
>
> (setq variable 0)
> (cond
>  ((eq variable 'default)
>   (message "equal"))
>  (t
>   (message "not equal")))
>
> Not byte-compiled output: not equal
> Byte-compiled output: equal

Please try the patch at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31718#14