Shouldn't have a load TN for arg0

Bug #1862493 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 f406 (a)
   (1+ (if t 0 (dotimes (iv2 1 (count a #(4))) (ignore-errors 0)))))

==>

Shouldn't have a load TN for arg0
This is probably a bug in SBCL itself. (Alternatively, SBCL
might have been corrupted by bad user code, e.g. by an undefined
Lisp operation like (FMAKUNBOUND 'COMPILE), or by stray pointers
from alien code or from unsafe Lisp code; or there might be a
bug in the OS or hardware that SBCL is running on.) If it seems
to be a bug in SBCL itself, the maintainers would like to know
about it. Bug reports are welcome on the SBCL mailing lists,
which you can find at <http://sbcl.sourceforge.net/>.
   [Condition of type SB-INT:BUG]

Restarts:
 0: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-INT:BUG "Shouldn't have a load TN for arg0")
  1: (SB-VM::PREPARE-ALU-OPERANDS #<unused argument> #<SB-C:TN '0!1 :CONSTANT> 2 #<SB-C::VOP :INFO SB-VM::FAST-+-C/FIXNUM=>FIXNUM :ARGS #<SB-C:TN-REF :TN #<SB-C:TN '0!1 :CONSTANT> :WRITE-P NIL :VOP SB-VM::..
  2: (SB-VM::EMIT-INLINE-ADD-SUB SB-VM::ADD #<unavailable argument> #<unavailable argument> #<SB-C:TN t2[RDX] :NORMAL> #<SB-C::VOP :INFO SB-VM::FAST-+-C/FIXNUM=>FIXNUM :ARGS #<SB-C:TN-REF :TN #<SB-C:TN '0!..
  3: (SB-C::GENERATE-CODE #<SB-C:COMPONENT :NAME (FLET "FUN3" :IN F406) {100C1B2493}>)
[…]

Stas Boukarev (stassats)
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.