From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Inlining `scm_is_pair ()' Date: Sun, 29 Jan 2006 00:07:41 +0200 Message-ID: <87bqxwxaz6.fsf@zagadka.de> References: <87wti7pwie.fsf@laas.fr> <87ek4ftgge.fsf@zagadka.de> <87fyouitqo.fsf@laas.fr> <87psnxxswj.fsf@laas.fr> <87slrednt9.fsf_-_@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1138517876 26601 80.91.229.2 (29 Jan 2006 06:57:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2006 06:57:56 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jan 29 07:57:55 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F36VV-0003wm-TQ for guile-devel@m.gmane.org; Sun, 29 Jan 2006 07:57:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F36YP-00031e-I4 for guile-devel@m.gmane.org; Sun, 29 Jan 2006 02:00:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2yaA-0006Cy-Bz for guile-devel@gnu.org; Sat, 28 Jan 2006 17:30:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2ya6-0006C7-Jd for guile-devel@gnu.org; Sat, 28 Jan 2006 17:30:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2yHQ-0001vw-Bn for guile-devel@gnu.org; Sat, 28 Jan 2006 17:10:48 -0500 Original-Received: from [213.243.153.36] (helo=smtp3.pp.htv.fi) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F2yFR-00052G-C6 for guile-devel@gnu.org; Sat, 28 Jan 2006 17:08:45 -0500 Original-Received: from zagadka.ping.de (cs181072157.pp.htv.fi [82.181.72.157]) by smtp3.pp.htv.fi (Postfix) with SMTP id 21BF427AC3E for ; Sun, 29 Jan 2006 00:07:48 +0200 (EET) Original-Received: (qmail 19368 invoked by uid 1000); 29 Jan 2006 00:07:42 +0200 Original-To: hanwen@xs4all.nl In-Reply-To: <87slrednt9.fsf_-_@laas.fr> (Ludovic =?iso-8859-1?Q?Court=E8s?= =?iso-8859-1?Q?'s?= message of "Tue, 24 Jan 2006 09:37:06 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5635 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) 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 Guil= e > with `-O0': when doing so, I get a "stack overflow" error when trying t= o > 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. --=20 GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel