guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Inlining `scm_is_pair ()'


From: Marius Vollmer
Subject: Re: [PATCH] Inlining `scm_is_pair ()'
Date: Sun, 29 Jan 2006 00:07:41 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> The following patch makes `scm_is_pair ()' an inline [...]

I just put scm_is_pair into inline.h, using our existing inlining
machinery that should be portable enough.  Ok?

> I'm not sure that's the only reason, but I'm now unable to compile Guile
> with `-O0': when doing so, I get a "stack overflow" error when trying to
> run the REPL.

This happens to me with and without scm_is_pair being an inline.  Our
default stack limit just seems to be too tight.  We could arbitarily
raise it from 20000 to, say, 30000.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]