The value -553864181720991276 is not of type (SIGNED-BYTE 32) when binding SB-X86-64-ASM::VALUE

Bug #1922525 reported by Paul F. Dietz on 2021-04-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(lambda (d)
   (position
    (svref
     #(41462464526 15437756806
       11007430841 51728168921 14477087154
       5611447853 35603206409)
     d)
    #(-276932090860495638)))

==>

The value
  -553864181720991276
is not of type
  (SIGNED-BYTE 32)
when binding SB-X86-64-ASM::VALUE
   [Condition of type TYPE-ERROR]
[...]
  0: (SB-X86-64-ASM::EMIT-SIGNED-DWORD #<SB-ASSEM:SEGMENT {1003AA5BF3}> -553864181720991276) [external]
  1: (SB-ASSEM::%ASSEMBLE #<SB-ASSEM:SEGMENT {1003AA5BF3}> (#<SB-ASSEM::STMT IGNORE {1003AA3E33}> . #<SB-ASSEM::STMT .ALIGN {1003AA5DD3}>))
  2: (SB-ASSEM:ASSEMBLE-SECTIONS #S(SB-ASSEM::ASMSTREAM :DATA-SECTION (#<SB-ASSEM::STMT IGNORE {1003AA3E33}> . #<SB-ASSEM::STMT .ALIGN {1003AA5DD3}>) :CODE-SECTION (#1=#<SB-ASSEM::STMT IGNORE {1003AA3E83}>..
  3: (SB-C::GENERATE-CODE #<SB-C:COMPONENT :NAME (LAMBDA (D)) {1003A8D833}>)
  4: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (LAMBDA (D)) {1003A8D833}>)
  5: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (LAMBDA (D)) {1003A8D833}>)
  6: (SB-C::%COMPILE (LAMBDA (D) (POSITION (SVREF # D) #(-276932090860495638))) #<SB-C::CORE-OBJECT {1003A87C13}> :NAME NIL :PATH (SB-C::ORIGINAL-SOURCE-START 0 0))
[...]

Stas Boukarev (stassats) on 2021-04-05
Changed in sbcl:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers