Skip to content

Commit

Permalink
0.9.4.73:
Browse files Browse the repository at this point in the history
        * PACK does not modify a hashtable, which it iterates on
          (patch by Rob MacLachlan for a bug reported by Bryan
          O'Connor).
  • Loading branch information
Alexey Dejneka committed Sep 17, 2005
1 parent babd45f commit a898718
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -39,6 +39,8 @@ changes in sbcl-0.9.5 relative to sbcl-0.9.4:
* bug fix: flush closure information collected by physical
environment analysis prepass before the main pass. (bug reported
by Vasile Rotaru)
* bug fix: compiler pack phase does not modify a hashtable, which is
iterated. (reported by Bryan O'Connor, fixed by Rob MacLachlan)
* threads
** bug fix: parent thread now can be gc'ed even with a live
child thread
Expand Down
18 changes: 9 additions & 9 deletions src/compiler/pack.lisp
Expand Up @@ -1603,15 +1603,15 @@
(do-ir2-blocks (block component)
(emit-saves block)
(pack-load-tns block))))
(when *repack-blocks*
(loop
(when (zerop (hash-table-count *repack-blocks*)) (return))
(maphash (lambda (block v)
(declare (ignore v))
(remhash block *repack-blocks*)
(event repack-block)
(pack-load-tns block))
*repack-blocks*))))
(loop
(unless *repack-blocks* (return))
(let ((orpb *repack-blocks*))
(setq *repack-blocks* nil)
(maphash (lambda (block v)
(declare (ignore v))
(event repack-block)
(pack-load-tns block))
orpb))))

(values))
(clean-up-pack-structures)))
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"0.9.4.72"
"0.9.4.73"

0 comments on commit a898718

Please sign in to comment.