[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, 29 Aug 2002 00:53:57 +0200 |
address@hidden writes:
>
> This looks wierd as well, don't you think?
well, yes, probably.
> > *((unsigned long *) z) = 0;
> > scm_remember ((SCM) z);
> > *((double *) z) = x;
> > return z;
>
> I like this better (with a suitable comment of course).
In CVS.
> I guess that the funny aliasing behaviour applies only to pointers to
> floating point types, right?
I wouldn't be sure. It could happen with all sorts of initializations,
I guess, but I'm not familiar enough with the source code to see which
ones.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen