This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc4: -ffast-math causes segfaults
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 13 Jul 2009 10:24:58 +0100
- Subject: Re: gcc4: -ffast-math causes segfaults
- References: <4A5A9D1E.8040905@users.sourceforge.net> <4A5AEEDC.4050308@gmail.com>
Dave Korn wrote:
> Yaakov (Cygwin/X) wrote:
>> Are there any known issues with -ffast-math that I should be aware of?
>
> 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:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
cheers,
DaveK
--
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