X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Dave Korn CC: cygwin AT cygwin DOT com Subject: Re: gcc4: -ffast-math causes segfaults References: <4A5A9D1E DOT 8040905 AT users DOT sourceforge DOT net> <4A5AEEDC DOT 4050308 AT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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