gcc4: -ffast-math causes segfaults

Dave Korn dave.korn.cygwin@googlemail.com
Mon Jul 13 14:16:00 GMT 2009


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



More information about the Cygwin mailing list