Incorrect result from some simple code
Bug #2035118 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun bug231 ()
(let* ((form
'(let ((v1 (if (not nil) 10 20)))
(decf v1 (/ v1 1))))
(lam1 `(lambda () ,form))
(lam2 `(lambda ()
(values (funcall (compile nil lam1))
(bug231) ==> 0, 10 ; 0 is correct
x86-64, "2.3.8.
To post a comment you must log in.
Got incidentally fixed by the reworking in d31534468a43a72 8b4c3e07fd58289 a1fabb79ef