Infinite loop in compiler?

Bug #2047289 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(declaim (special *s1*))

(lambda (a b f)
  (declare (optimize (debug 2)))
  ((lambda (v6)
     (dotimes
         (iv4 3
              (dotimes
                  (iv4 0
                       (handler-bind nil
                         (multiple-value-bind (*s1*)
                             (the (satisfies eval)
                                  (let ((*s1* v6)) 1))
                           b)))))
       (the (satisfies eval)
            (if (/= a f) 295 0))
       (if (> 248 a) 2 3)))
   (dotimes
       (iv4 0
            (dotimes
                (iv2 2 (the (satisfies eval) a)))))))

==> does not seem to terminate

x86-64, "2.3.11.167-1ba132815"

Revision history for this message
Stas Boukarev (stassats) wrote :

(lambda (a)
  (declare (optimize (debug 2)))
  (let ((v (the (satisfies eval) a)))
    (dotimes (i 3)
      (print (/= a 1))
      (> 248 a))
    v))

Changed in sbcl:
status: New → Confirmed
Stas Boukarev (stassats)
Changed in sbcl:
assignee: nobody → Stas Boukarev (stassats)
Stas Boukarev (stassats)
Changed in sbcl:
status: Confirmed → Fix Committed
assignee: Stas Boukarev (stassats) → nobody
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.