[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc optimisation breaks guile floating point
From: |
Han-Wen Nienhuys |
Subject: |
Re: gcc optimisation breaks guile floating point |
Date: |
Thu, 5 Sep 2002 23:10:40 +0200 |
address@hidden 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 | address@hidden | http://www.cs.uu.nl/~hanwen
- Re: gcc optimisation breaks guile floating point,
Han-Wen Nienhuys <=