failed AVER: (EQ (SB-C::CTRAN-KIND SB-C::CTRAN) :BLOCK-START)

Bug #1742775 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(defun f67 (x &rest args)
  (unless
      (if (eq x :tud)
          (zerop (first args))
          (every #'identity args (every #'identity args)))
    args))

===>

failed AVER: (EQ (SB-C::CTRAN-KIND SB-C::CTRAN) :BLOCK-START)
[...]
  0: (SB-INT:BUG "~@<failed AVER: ~2I~_~S~:>" (EQ (SB-C::CTRAN-KIND SB-C::CTRAN) :BLOCK-START))
  1: (SB-IMPL::%FAILED-AVER (EQ (SB-C::CTRAN-KIND SB-C::CTRAN) :BLOCK-START))
  2: (SB-C::%USE-CTRAN #<SB-EXT:EXIT :ENTRY #<SB-C::ENTRY {100440DAF3}> :VALUE #<SB-C::LVAR 1 {1004453F93}> {1004453FE3}> #<SB-C::CTRAN 2 {100440BB93}>)
  3: (SB-C::IR1-CONVERT-RETURN-FROM #<SB-C::CTRAN 3 {1004453C73}> #<SB-C::CTRAN 4 {10044536B3}> #<unused argument> (RETURN-FROM #:BLOCK4 NIL))
[...]

Tags: ir-copy
Stas Boukarev (stassats)
tags: added: ir-copy
Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

Similar failure (w. bad return-from):

(lambda (x p c)
  (when (if p
            (funcall c x)
            (every #'not (mapcar c x)))
    (return-from bogus nil))
  t)

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

9462da298a31a20e6509905d0bae4eff48fb920a

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
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.