Skip to content

Commit

Permalink
1.0.13.42: character untagging test from Lutz Euler
Browse files Browse the repository at this point in the history
 sbcl-devel 2007-05-01
  • Loading branch information
nikodemus committed Jan 15, 2008
1 parent 2639ed3 commit dd1122b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tests/character.pure.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@
(assert name))))

(assert (null (name-char 'foo)))

;;; Between 1.0.4.53 and 1.0.4.69 character untagging was broken on
;;; x86-64 if the result of the VOP was allocated on the stack, failing
;;; an aver in the compiler.
(with-test (:name :character-untagging)
(compile nil
'(lambda (c0 c1 c2 c3 c4 c5 c6 c7
c8 c9 ca cb cc cd ce cf)
(declare (type character c0 c1 c2 c3 c4 c5 c6 c7
c8 c9 ca cb cc cd ce cf))
(char< c0 c1 c2 c3 c4 c5 c6 c7
c8 c9 ca cb cc cd ce cf))))
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
;;; 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.13.41"
"1.0.13.42"

0 comments on commit dd1122b

Please sign in to comment.