X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A5AFD6A.6030407@gmail.com>
Date: Mon, 13 Jul 2009 10:24:58 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: Dave Korn <dave.korn.cygwin@googlemail.com>
CC: cygwin@cygwin.com
Subject: Re: gcc4: -ffast-math causes segfaults
References: <4A5A9D1E.8040905@users.sourceforge.net> <4A5AEEDC.4050308@gmail.com>
In-Reply-To: <4A5AEEDC.4050308@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

