X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.impure.lisp;h=de68a8ac1a09d04984fc8437bfd069c444453981;hb=94ac5b7c3ff37850210b6fc9a7593cf1c5752993;hp=ce7ef42a73ce00730264b698e8e5e3f69502a2ee;hpb=ba38798a5ca26b90647a1993f348806cb32f2d1b;p=sbcl.git diff --git a/tests/compiler.impure.lisp b/tests/compiler.impure.lisp index ce7ef42..de68a8a 100644 --- a/tests/compiler.impure.lisp +++ b/tests/compiler.impure.lisp @@ -88,6 +88,21 @@ (if (and (< ind ind) (typep (char string ind) '(member #\1))) nil)))))) + +;;; bug reported and fixed by Matthias Hoelzl sbcl-devel 2002-05-13 +(defmacro foo-2002-05-13 () ''x) +(eval '(foo-2002-05-13)) +(compile 'foo-2002-05-13) +(foo-2002-05-13) ; (The bug caused UNDEFINED-FUNCTION to be signalled here.) + +;;; floating point pain on the PPC. +;;; +;;; This test case used to fail to compile on most powerpcs prior to +;;; sbcl-0.7.4.2x, as floating point traps were being incorrectly +;;; masked. +(defun floating-point-pain (x) + (declare (single-float x)) + (log x)) ;;;; tests not in the problem domain, but of the consistency of the ;;;; compiler machinery itself