From: Josh V. <ho...@na...> - 2001-06-15 19:57:51
|
Brian Paul <br...@va...> writes: > Klaus Niederkrueger wrote: > > > > Hi, > > > > Some time ago I wrote saying that I had problems with the square-root > > functions in the file 'src/mmath.c' when compiling with > > '-fstrict-aliasing' (on RedHat7.0), so I guess that a similar patch as > > Josh's should be applied to 'mmath.c' in lines like > > > > float f; > > unsigned int *fi = (unsigned int *)&f; > > /* to access the bits of a float in */ > > /* C quickly we must misuse pointers */ > > Can you try doing that on your system? Let me know if a change is > needed. How does FAST_MATH get defined? I was going to fix that one until I realized it wasn't even being compiled on my system. I can't find any Makefile targets that define it. Josh |