Ticket #660 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Bug in ASH with type declarations

Reported by: emarsden Owned by: gb
Priority: normal Milestone: Clozure CL 1.5
Component: Compiler Version: trunk
Keywords: Cc:

Description

Welcome to Clozure Common Lisp Version 1.5-dev-r13434M  (LinuxX8632)!
? (funcall (lambda (x) (ash x -1000)) 2219369894)
0
? (funcall (lambda (x) (declare (type (integer 100000 3391901519) x)) (ash x -1000)) 2219369894)
1

Change History

Changed 2 years ago by gb

  • status changed from new to closed
  • resolution set to fixed

(In [13437]) An unsigned-byte of the native word size shifted right by a value

= the number of bits in a native word is always 0.

Closes ticket:660.

Note: See TracTickets for help on using tickets.