Compilation fails in SB-C::DELETE-BLOCK with "The value NIL is not of type SB-C::CTRAN"

Bug #1417822 reported by Ilya Perminov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

SB-C::DELETE-BLOCK signals type error "The value NIL is not of type SB-C::CTRAN" during compilation of the following code:
(declaim (inline call))
(defun call (function)
  (flet ((func1 ()
           (unwind-protect
                (funcall function)
             nil)))
    (declare (inline func1))
    (if function
        (func1)
        (func1))))

(defun test-call ()
  (flet ((func () 1))
    (call #'func))
  (flet ((func () 1))
    (call #'func))
  )

SBCL 1.2.7, Linux x86_64

Revision history for this message
Stas Boukarev (stassats) wrote :

In 04dbaae75369e271358e33f77d26cbffc32acc24

Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.