Miscompilation of FLET with &optional and &key called from notinlined APPLY

Bug #1722347 reported by Paul F. Dietz on 2017-10-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(funcall
 (compile nil
          '(lambda ()
            (declare (notinline apply))
            (flet ((%f (&optional x &key)
                     0))
              (apply #'%f nil)))))

odd number of &KEY arguments
   [Condition of type SB-INT:SIMPLE-PROGRAM-ERROR]

summary: - Miscompilation of FLET with &optional and &key caled from notinlined
+ Miscompilation of FLET with &optional and &key called from notinlined
APPLY
Stas Boukarev (stassats) wrote :

In 8441d3aa77da9a94ce0fb3acf6de6c79fed0aa8f.

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