Space explosion in copy-propagation

Bug #1540125 reported by Stas Boukarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Medium
Unassigned

Bug Description

(defun test (n)
  (compile nil
           `(lambda (x)
              (let ((y x))
                ,@(loop for i below n collect
                        `(setf y
                               (if (car x) 0 1)))
                y))))

conses a lot of SSETs and they can't be collected. At the end of each block it collects the TNs which are not modified, and here that set grows with each block.

Tags: compiler
Stas Boukarev (stassats)
Changed in sbcl:
status: New → Triaged
description: updated
Changed in sbcl:
importance: Undecided → Medium
tags: added: compiler
Revision history for this message
Stas Boukarev (stassats) wrote :

In 570bc3c47e03c922eb7cd0ddcfe4825e119ab698

Changed in sbcl:
status: Triaged → 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.