bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46906: 28.0.50; byte compiler infloops trying to compile infloop


From: Pip Cet
Subject: bug#46906: 28.0.50; byte compiler infloops trying to compile infloop
Date: Wed, 3 Mar 2021 21:44:02 +0000

On Wed, Mar 3, 2021 at 9:15 PM Pip Cet <pipcet@gmail.com> wrote:
>
> Recipe in emacs -Q:
>
> In *scratch*, evaluate:
>
> (byte-compile (lambda (x)
>                 (if x (f))
>                 (while t)))
>
> Expected result:
>
> A (fairly useless) bytecode object
>
> Actual result:
>
> A spinning hourglass.

Seems to be a fairly obvious bug in byte-opt.el, patch attached.

Okay to commit?

Pip

Attachment: 0001-Fix-bytecompiler-infloop-compiling-infloops-bug-4690.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]