Subject: bug#46812: 28.0.50; [native-comp] (lambda (x) (if (= x 0.0) (floatp x) (error ""))) miscompiled

From: Andrea Corallo <[email-masked]>
Date: Sat, 27 Feb 2021 21:15:57 +0000

Pip Cet <[email-masked]> writes:

> In *scratch*, evaluate
>
> (funcall (native-compile `(lambda (x) (if (= x 0.0) (floatp x) (error "")))) 0)

Nice reproducer for a nice bug.

This week-end I'm mostly off, will come back on this very quickly.

Thanks for reporting.

  Andrea