Problems with dynamic-extent closures
Bug #681092 reported by
Stas Boukarev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Critical
|
Alastair Bridgewater |
Bug Description
(defun foo ()
(declare (optimize speed))
(let ((c 0))
(flet ((bar () c))
(declare (dynamic-extent #'bar))
(do () ((list) (bar))
(setf c 10)
(return (bar))))))
(foo) returns -312207914 instead of 10
To post a comment you must log in.
In 1.0.41.56 (foo) returns 10
In 1.0.44.32 (foo) returns FOO