Incorrect value computed w. flet, logior, progv, values
Bug #2012851 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun b2 (b c)
(declare
(optimize (compilation-speed 3) (space 1)
(debug 0) (safety 0) (speed 1)))
(logior (progv '(*s1*) (list 0) c)
(flet ((%f (x) (values 0 0)))
(if t
b
(%f c)))))
(defun b2* ()
(let ((vals '(-1 2)))
(values (logior (cadr vals) (car vals))
(apply #'b2 vals))))
(b2*) ==> -1, 2
x86-64, "2.3.2.
Changed in sbcl: | |
status: | New → Fix Released |
To post a comment you must log in.