From 74e137986407cbdb72d8cdaca529a693b5e617fe Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sat, 23 Oct 2004 18:10:24 +0000
Subject: [PATCH] Use a non-descriptor-reg for the header tn in var-alloc. 
 (From SBCL. This seems to fix an intermittent build problem for me on ppc.)

---
 compiler/ppc/alloc.lisp   | 5 +++--
 compiler/sparc/alloc.lisp | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/compiler/ppc/alloc.lisp b/compiler/ppc/alloc.lisp
index 6ef841154..0ecd17018 100644
--- a/compiler/ppc/alloc.lisp
+++ b/compiler/ppc/alloc.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/alloc.lisp,v 1.7 2004/08/09 01:36:47 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/alloc.lisp,v 1.8 2004/10/23 18:10:23 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -199,7 +199,8 @@
   (:info name words type lowtag)
   (:ignore name)
   (:results (result :scs (descriptor-reg)))
-  (:temporary (:scs (any-reg)) bytes header)
+  (:temporary (:scs (any-reg)) bytes)
+  (:temporary (:scs (non-descriptor-reg)) header)
   (:temporary (:sc non-descriptor-reg :offset nl3-offset) pa-flag)
   (:generator 6
     (inst addi bytes extra (* (1+ words) word-bytes))
diff --git a/compiler/sparc/alloc.lisp b/compiler/sparc/alloc.lisp
index 89688c474..0668fcbff 100644
--- a/compiler/sparc/alloc.lisp
+++ b/compiler/sparc/alloc.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/alloc.lisp,v 1.21 2003/10/20 01:25:01 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/alloc.lisp,v 1.22 2004/10/23 18:10:24 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -202,7 +202,8 @@
   (:info name words type lowtag)
   (:ignore name)
   (:results (result :scs (descriptor-reg)))
-  (:temporary (:scs (any-reg)) bytes header)
+  (:temporary (:scs (any-reg)) bytes)
+  (:temporary (:scs (non-descriptor-reg)) header)
   (:temporary (:scs (any-reg)) temp)
   (:generator 6
     (inst add bytes extra (* (1+ words) word-bytes))
-- 
GitLab