Steel Bank Common Lisp

wrong number of &KEY arguments crashes compiler

Reported by Mario S. Mommer on 2010-10-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

Compiling the following function crashes the compiler (tested on
1.0.43 and 1.0.43.77)

(defun bug (m)
  (make-array m 1))

I observe the correct behavior on the command line,
i.e. with

(make-array 5 1)

it complains that there is an "odd number of &KEY arguments".

Stas Boukarev (stassats) wrote :

The attached patch fixes it.
Guard against running deftrasnform for make-array in case of odd number of &key arguments.

Stas Boukarev (stassats) on 2010-10-26
tags: added: review
Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats) on 2010-11-01
tags: removed: review
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers