GNU bug report logs -
#1334
23.0.60; bug of bytecomp arithmetic operations
Previous Next
Full log
View this message in rfc822 format
Hi, Chong,
> Shouldn't this be (nth 2 form) on the last line?
Of course, you are right.
I found I had tested with my older version.
In `byte-regression-test', I should have remove the following line.
(load "byte-opt-minimal")
After above correction, log output contains three errors.
(let ((a 3) (b 2) (c 1.0)) (- 0 a)) --> -3, NG
--> 0
(let ((a 3) (b 2) (c 1.0)) (- 0 c)) --> -1.0, NG
--> 0
(let ((a 3) (b 2) (c 1.0)) (- 0 a)) --> -3, NG
--> 0
Thank you,
- Shigeru
----- Original Message -----
From: "Chong Yidong" <cyd <at> stupidchicken.com>
To: "Shigeru Fukaya" <shigeru.fukaya <at> gmail.com>
Cc: <1334 <at> debbugs.gnu.org>
Sent: Friday, November 21, 2008 4:40 PM
Subject: Re: 23.0.60; bug of bytecomp arithmetic operations
> Thanks. I'm looking through your changes.
>
> ! ;; (- 0 x) --> (- x)
> ! ((and (eq (nth 1 form) 0) (= (length form) 3))
> ! (setq form (list '- (nth 1 form))))
>
> Shouldn't this be (nth 2 form) on the last line?
This bug report was last modified 16 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.