Handle unbounded integer types in INTEGER-TYPE-NUMERIC-BOUNDS
[sbcl.git] / src / compiler / srctran.lisp
index 221eaf0..18f7301 100644 (file)
            (return (values nil nil)))
          (let ((this-low (numeric-type-low type))
                (this-high (numeric-type-high type)))
+           (unless (and this-low this-high)
+             (return (values nil nil)))
            (setf low  (min this-low  (or low  this-low))
                  high (max this-high (or high this-high)))))))))