Subject: bug#35770: [PATCH] Broken duplicate case elimination in switch byte-compilation

From: Noam Postavsky <[email-masked]>
Date: Wed, 22 May 2019 07:21:12 -0400

Mattias Engdegård <[email-masked]> writes:

> 22 maj 2019 kl. 12.58 skrev Eli Zaretskii <[email-masked]>:
>> 
>> However, in this case I really wonder why we should be so eager to
>> install the change on the emacs-26 branch.  How long this wrong code
>> has been with us?
>
> About two years, and it only matters for (arguably) buggy code, so you are probably right.

I think the significant milestone is that it's been with us since 26.1,
i.e., this is a regression since Emacs 25.

> On the other hand, different behaviour in compiled and interpreted
> code does not make it easier to find such bugs.

Another option is turning off byte-compile-cond-use-jump-table by
default.