The value NIL is not of type SB-C:STORAGE-CLASS

Bug #1997128 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 bug099 (a)
  (declare (optimize (debug 2)))
  ((lambda (v1 v2) (boole boole-set a v2)) (numerator a) a))

==>

The value
  NIL
is not of type
  SB-C:STORAGE-CLASS
   [Condition of type TYPE-ERROR]
[...]
Backtrace:
  0: (SB-REGALLOC::UNBOUNDED-TN-P #<SB-C:TN t1 :NORMAL>)
  1: (SB-REGALLOC::PACK-GREEDY #<SB-C:COMPONENT :NAME "<unknown>" {103F493A33}> #S(SB-C::IR2-COMPONENT :GLOBAL-TN-COUNTER 40 :NORMAL-TNS #<SB-C:TN t1 :NORMAL> :RESTRICTED-TNS #<SB-C:TN t2[RAX(u)] :NORMAL> ..
  2: (SB-REGALLOC:PACK #<SB-C:COMPONENT :NAME "<unknown>" {103F493A33}>)
  3: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "<unknown>" {103F493A33}>)
[...]

x86-64, "2.2.10.96-e1c81ec95"

Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

Same bug:

(defun bug100 (a b)
  (declare (optimize (debug 2)))
  (unwind-protect a (+ (numerator b) (lognor b b))))

Stas Boukarev (stassats)
Changed in sbcl:
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.