X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcharacter.pure.lisp;h=e26fed4828080ff77881025721ab1e63ca1be832;hb=a51d83191034919bc76367268929e234d62164db;hp=37f4b49fe25ee416661305b3f222f9b86fb1140e;hpb=cfc1753e593943c7d0eb8d0621158948917f8304;p=sbcl.git diff --git a/tests/character.pure.lisp b/tests/character.pure.lisp index 37f4b49..e26fed4 100644 --- a/tests/character.pure.lisp +++ b/tests/character.pure.lisp @@ -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))))