gcc4: -ffast-math causes segfaults
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Mon Jul 13 22:15:00 GMT 2009
On 13/07/2009 04:24, Dave Korn wrote:
>> Yes. -ffaast-math allows the compiler to generate SSE instructions. This
>> is a problem if used with plain uninitialised C common variable declarations,
>> because the PE file format doesn't have a way to specify the alignment of
>> common section allocations.
>
> BTW, all this is PR37216:
Reading that PR just made my head spin. I'm sure glad we've got guys
like you on top of this stuff. :-)
> Fixing this required adding support to both binutils and GCC; the new
> release of binutils includes this support, and both GCC HEAD and the
> coming-real-soon-now gcc-4.3.3-1 contain code to make use of the new
> ability.
Well, that's certainly reassuring. Thanks for the clarification.
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list