[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 1.8 and x86_64
From: |
Miroslav Lichvar |
Subject: |
Re: guile 1.8 and x86_64 |
Date: |
Sat, 6 May 2006 13:12:21 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, May 05, 2006 at 04:05:34PM +0200, Miroslav Lichvar wrote:
> The scm_mark_locations function in gc-mark.c calls scm_gc_mark on
> everything located in one of the allocated segments. Shouldn't there
> be a check if the address is at least scm_t_cell aligned?
Looks like the CELL_P macro is there exactly for this purpose, the
following change in private-gc.h is probably the right thing to do.
137c137
< #define CELL_P(x) (SCM_ITAG3 (x) == scm_tc3_cons)
---
> #define CELL_P(x) (!(SCM_UNPACK (x) & (sizeof (scm_t_cell) - 1)))
--
Miroslav Lichvar
- Re: guile 1.8 and x86_64, Miroslav Lichvar, 2006/05/05
- Re: guile 1.8 and x86_64,
Miroslav Lichvar <=
- Re: guile 1.8 and x86_64, Marius Vollmer, 2006/05/07
- Re: guile 1.8 and x86_64, Andy Wingo, 2006/05/08
- Re: guile 1.8 and x86_64, Marius Vollmer, 2006/05/08
- Re: guile 1.8 and x86_64, Neil Jerram, 2006/05/09
- Re: guile 1.8 and x86_64, Andy Wingo, 2006/05/09
- Default stack limit, Marius Vollmer, 2006/05/09
- Re: Default stack limit, Andy Wingo, 2006/05/10
- Re: Default stack limit, Kevin Ryde, 2006/05/10