From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9201 invoked by alias); 23 Sep 2006 21:52:36 -0000 Received: (qmail 9157 invoked by alias); 23 Sep 2006 21:52:29 -0000 Date: Sat, 23 Sep 2006 21:52:00 -0000 Message-ID: <20060923215229.9156.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/29186] optimzation breaks floating point exception flag reading In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg02257.txt.bz2 List-Id: ------- Comment #6 from joseph at codesourcery dot com 2006-09-23 21:52 ------- Subject: Re: optimzation breaks floating point exception flag reading On Sat, 23 Sep 2006, kreckel at ginac dot de wrote: > According to C99, 7.6.1, you are technically right. But still: an > implementation that does not allow access to floating point flags irritates me. Use -frounding-math to enable FENV_ACCESS for the whole translation unit, but note the warnings in the documentation of that option. If that option does not meet all the requirements of FENV_ACCESS, file a new bug report for each specific problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29186