From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: gcc optimisation breaks guile floating point Date: Thu, 5 Sep 2002 23:10:40 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <15735.51280.569410.22724@blauw.xs4all.nl> References: <200208272110.OAA20247@onyx.he.net> <15723.64888.759743.439428@blauw.xs4all.nl> <8765xuzq57.fsf@zagadka.ping.de> <15725.21637.516981.623205@blauw.xs4all.nl> <200208301751.KAA21818@onyx.he.net> Reply-To: hanwen@cs.uu.nl NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1031260031 17407 127.0.0.1 (5 Sep 2002 21:07:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 21:07:11 +0000 (UTC) Cc: mvo@zagadka.ping.de, guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17n3qI-0004Wc-00 for ; Thu, 05 Sep 2002 23:07:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17n3rj-0004Tt-00; Thu, 05 Sep 2002 17:08:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17n3qR-0004O5-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 17:07:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17n3qO-0004Nm-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 17:07:18 -0400 Original-Received: from smtpzilla5.xs4all.nl ([194.109.127.141]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17n3qO-0004Nb-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 17:07:16 -0400 Original-Received: from blauw.xs4all.nl (blauw.xs4all.nl [213.84.26.127]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id g85L7CWb023883; Thu, 5 Sep 2002 23:07:12 +0200 (CEST) Original-To: Gary Houston In-Reply-To: <200208301751.KAA21818@onyx.he.net> X-Mailer: VM 7.05 under Emacs 21.2.1 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1313 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1313 ghouston@arglist.com writes: > > However scm_double_cell itself probably needs to be fixed, otherwise > this problem will turn up again some day, or in user code (I'll look > at it myself if it's still a problem in a couple of weeks.) I think the proper solution is some kind of asm/gcc statement that prevents the reordering. Any C gurus that know a portable way of ensuring that? A function call like scm_remember() from scm_[double_]cell() defeats the purpose of inlining scm_[double_]cell. -- Han-Wen Nienhuys | hanwen@cs.uu.nl | http://www.cs.uu.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel