* Reported by Matthias Andreas Benkard Matthias Andreas Benkard.
* Patch by Juho Snellman.
update the system's knowledge about its call signature properly.
* bug fix: fixed #431; incompatible alien record type redefinitions
are detected and handled. (reported by Neil Haven)
+ * bug fix: using RESTRICT-COMPILER-POLICY with DEBUG 3 could cause
+ PROGV miscompilation. (reported by Matthias Benkard, patch by Juho
+ Snellman)
changes in sbcl-1.0.21 relative to 1.0.20:
* new feature: the compiler is able to track the effective type of a
(about-to-modify-symbol-value var "bind ~S")
(%primitive bind unbound-marker var))))
(,bind (vars vals)
- (declare (optimize (speed 2) (debug 0)))
+ (declare (optimize (speed 2) (debug 0)
+ (insert-debug-catch 0)))
(cond ((null vars))
((null vals) (,unbind vars))
(t
(with-test (:name :hairy-function-name)
(assert (eq 'read-line (nth-value 2 (function-lambda-expression #'read-line))))
(assert (equal "#<FUNCTION READ-LINE>" (princ-to-string #'read-line))))
+
+;;; PROGV + RESTRICT-COMPILER-POLICY
+(with-test (:name :progv-and-restrict-compiler-policy)
+ (let ((sb-c::*policy-restrictions* sb-c::*policy-restrictions*))
+ (restrict-compiler-policy 'debug 3)
+ (let ((fun (compile nil '(lambda (x)
+ (let ((i x))
+ (declare (special i))
+ (list i
+ (progv '(i) (list (+ i 1))
+ i)
+ i))))))
+ (assert (equal '(1 2 1) (funcall fun 1))))))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.21.30"
+"1.0.21.31"