Bug in snapshot 2008-05 for x86

[email protected] (Raymond Toy (RT/EUS))
Newsgroups gmane.lisp.cmucl.general,gmane.lisp.cmucl.devel
Message-ID <[email protected]>
Just discovered a bug in snapshot 2008-05 for all x86 versions.  It
affects arrays of (unsigned-byte 16) or (signed-byte 16).  You can see
for yourself with:

(defun bar ()
  (declare (optimize (speed 3) (safety 0)))
  (make-array 8 :element-type '(unsigned-byte 16) :initial-element
  42))

Compile this, and (bar) produces #(0 1 2 3 4 5 6 7) instead of #(42 42
42 42 42 42 42 42).

The bug may manifest itself in other ways, though, so that when you
set an element of such an array, you get some weird number.

This will be fixed in the next snapshot.  Until then, I would
recommend using the previous snapshot.

This bug does NOT affect the 19e release.  The bug was introduced
after the release branch was made.

Sorry for the problem,

Ray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.