Incorrect value w. code involving gcd, type declare, setq

Bug #1848022 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 f390 (a)
  (declare (type (integer -142 -29) a))
  (eql (gcd (setq a -29) a) 1))

;; (f390 -86) ==> T (should be NIL)

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

c5174b54b2107337fa0212472ad03e87ea48bfbd

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