[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18767: 24.4; incorrect byte-compile on arithmatic comparisons
From: |
Stefan Monnier |
Subject: |
bug#18767: 24.4; incorrect byte-compile on arithmatic comparisons |
Date: |
Mon, 20 Oct 2014 17:42:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Version:24.5
> byte-compile of arithmatic comparison operators on more than two
> arguments is incorrect.
Indeed, I was not very awake when I committed that code. I just
reverted the change so the byte-compiler simply doesn't optimize this case.
To do any better, I think we'll have to do something like:
loop over all args, doing "byte-compile-form" + "dup", and then apply
the comparisons backward, combining them with "and".
Stefan