SORT return value lost with (space 0) on specialized vectors
Bug #2067352 reported by
Eric Marsden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
From random-integer testing on Linux/AMD64:
* (lisp-implement
"2.4.4.
* (defun foobles (a)
(declare (optimize (speed 2) (space 0)) ; (space 0) important
(type (vector (unsigned-byte 7)) a)) ; fails for all sorts of specialized vectors
(sort a #'<))
* (foobles (coerce (vector 1 2) '(vector (unsigned-byte 7))))
NIL ; <-- expecting #(1 2)
(sbcl-devel is refusing my emails but I see that the issue has been reported)
Changed in sbcl: | |
status: | New → Fix Released |
To post a comment you must log in.