Compiler goes into loop on FIND-IF-NOT with certain declarations

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

Bug Description

(lambda (p1 p3 p4)
  (declare (optimize (speed 0) (debug 2))
           (type (or (eql #.#'oddp) (satisfies eval)) p1))
  (find-if-not p1 nil p3 p4))

==>

compiler does not return, eventually runs out of memory

Stas Boukarev (stassats)
Changed in sbcl:
importance: Undecided → Medium
assignee: nobody → Stas Boukarev (stassats)
Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

Another similar example:

(lambda (p1 p2 p3)
  (declare (optimize (speed 0) (debug 2))
           (type (or (satisfies #:foo) (eql #:x)) p1))
  (count-if p1 p2 p3 #'identity))

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

d6a30aa86a2b582c1ff9cb6d9f1431d8973266db

Changed in sbcl:
assignee: Stas Boukarev (stassats) → nobody
status: New → Fix Committed
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.