X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Ffloat-trap.lisp;h=2a772a5eb0e5f20c3907910c7cfe43b21bbfb024;hb=986ce2596822cc0871b609346aaf592348aca596;hp=6c1b5c5307a949628c4e844203f5dec19750544c;hpb=2d0b882f9eabffe5e2d32c0e2e7ab06c96f4fea3;p=sbcl.git diff --git a/src/code/float-trap.lisp b/src/code/float-trap.lisp index 6c1b5c5..2a772a5 100644 --- a/src/code/float-trap.lisp +++ b/src/code/float-trap.lisp @@ -127,8 +127,7 @@ ;;; Signal the appropriate condition when we get a floating-point error. (defun sigfpe-handler (signal info context) - (declare (ignore signal info)) - (declare (ignore context)) ; stub! + (declare (ignore signal info context)) (declare (type system-area-pointer context)) ;; FIXME: The find-the-detailed-problem code below went stale with ;; the big switchover to POSIX signal handling and signal contexts @@ -174,7 +173,7 @@ (exceptions (dpb (float-trap-mask traps) float-sticky-bits 0)) (trap-mask (dpb (lognot (float-trap-mask traps)) float-traps-byte #xffffffff)) - (exception-mask (dpb (lognot (sb!vm::float-trap-mask traps)) + (exception-mask (dpb (lognot (float-trap-mask traps)) float-sticky-bits #xffffffff)) (orig-modes (gensym))) `(let ((,orig-modes (floating-point-modes)))