Subject: Re: bug#17475: 24.3.91; bug of byte-optimize-zerop

From: Stefan Monnier <[email-masked]>
Date: Tue, 20 May 2014 14:32:49 -0400

> zerop itself is not an error-free fuction.
> I'll change my poroposal code.

> (defun byte-optimize-zerop (form)
>   (cond ((numberp (nth 1 form))
>          (eval form))
> 	((list '= (nth 1 form) 0))))

Actually, you can drop the first option since the optimizer rules for
`=' will take care of it for us.

        Stefan