can't tell the size of #<SB-C:TN '0!1 :CONSTANT>

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

Bug Description

(lambda ()
    (/
     (loop for lv4 below 0
           count (if (oddp
                      (let* ((v3 (ceiling -1 (max 11 (unwind-protect 0)))))
                        (rem 0 (min -9 0))))
                     t
                     t))
     -1))

==>

can't tell the size of #<SB-C:TN '0!1 :CONSTANT>
   [Condition of type SIMPLE-ERROR]

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

Backtrace:
  0: (SB-X86-64-ASM::OPERAND-SIZE #<SB-C:TN '0!1 :CONSTANT>)
  1: (SB-X86-64-ASM::MATCHING-OPERAND-SIZE RDX #<SB-C:TN '0!1 :CONSTANT>)
  2: ("MOV" #<SB-ASSEM:SEGMENT {100DF8C113}> RDX RDX #<SB-C:TN '0!1 :CONSTANT>)
  3: (SB-ASSEM::%ASSEMBLE #<SB-ASSEM:SEGMENT {100DF8C113}> (#<SB-ASSEM::STMT IGNORE {100DF8AC23}> . #<SB-ASSEM::STMT .ALIGN {100DF8C2D3}>))
  4: (SB-ASSEM:ASSEMBLE-SECTIONS #S(SB-ASSEM::ASMSTREAM :DATA-SECTION (#<SB-ASSEM::STMT IGNORE {100DF8AC23}> . #<SB-ASSEM::STMT .ALIGN {100DF8C2D3}>) :CODE-SECTION (#1=#<SB-ASSEM::STMT IGNORE {100DF8AC73}>..
  5: (SB-C::GENERATE-CODE #<SB-C:COMPONENT :NAME (FLET "CLEANUP-FUN-7") {100DF65283}>)
  6: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET "CLEANUP-FUN-7") {100DF65283}>)
  7: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET "CLEANUP-FUN-7") {100DF65283}>)
  8: (SB-C::%COMPILE (LAMBDA NIL (/ (LOOP FOR LV4 BELOW 0 COUNT ...) -1)) #<SB-C::CORE-OBJECT {100DF480C3}> :NAME NIL :PATH (SB-C::ORIGINAL-SOURCE-START 0 0))
 […]

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.