Incorrect value computed in case #3

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

Bug Description

(defun f360 ()
  (declare (notinline max))
  (case (sbit #*101 (max 0))
    ((-3 -2) 1)
    ((-5 1) (when nil 2))
    (t 3)))

(f360) ==> 3 ;; should be NIL

x86-64, "2.4.2.209-f37355e3d"

description: updated
Stas Boukarev (stassats)
Changed in sbcl:
status: New → 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.