Subject: bug#61504: 29.0.60; executing byte-code from previous build causes SIGSEGV crash

From: Eli Zaretskii <[email-masked]>
Date: Tue, 14 Feb 2023 19:16:21 +0200

> Date: Tue, 14 Feb 2023 17:00:55 +0000
> From: Gregory Heytings <[email-masked]>
> cc: Eli Zaretskii <[email-masked]>, [email-masked], 
>     Stefan Monnier <[email-masked]>, [email-masked]
> 
> > By the way, doesn't the patch switch the restoration order of narrowing 
> > and restriction, respectively? Maybe it doesn't matter?
> 
> Hmmm, that's a good question!  The evaluation order of parameters is 
> unspecified in C, so actually the order could be switched or not, 
> depending on what the compiler chooses to do.

But you could rewrite the code so that the parameters are evaluated
one after the other, and only after that call Fcons.  The compiler
could still change the order, but that would be less probable.

> That being said, AFAICS it doesn't matter in this case, indeed.

It is IME better to write code that doesn't trigger such questions to
begin with.

> Eli, OK to install?

With the change of order per the above, yes.

Thanks.