Incorrect value computed, conditional with = of integers

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

Bug Description

(defun bug236 (a)
  (declare (type number a))
  (declare (optimize debug))
  (setf a 1)
  (let ((v9 1))
    (let ((v1 (/ a 1)))
      (if (= v9 v1)
          :good
          :bad))))

(bug236 0) ==> :bad

x86-64, "2.3.8.151-8c8c49815"

description: updated
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.