Memory fault in code w. notinlined FUNCALL on DX labels
Bug #1952984 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Charles |
Bug Description
(defun f077 (a b c)
(declare (notinline funcall max))
(labels ((%f14
0))
(declare (dynamic-extent (function %f14)))
(funcall #'%f14
(%f14
(min 11 (max 0 c))
1
b)
0)))
(defun bug077 ()
(f077 1 2 3))
(bug077) ==> memory fault
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Perhaps also related:
(defun bug078 (b)
(declare (notinline funcall))
(declare (optimize (speed 3)))
(labels ((%f1 (&optional f1-1) (shiftf b 0)))
(declare (dynamic-extent (function %f1)))
(funcall #'%f1 :bad)))
(bug078 10) ==> :BAD