From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22108 invoked by alias); 22 Sep 2006 22:34:14 -0000 Received: (qmail 21996 invoked by uid 48); 22 Sep 2006 22:34:04 -0000 Date: Fri, 22 Sep 2006 22:34:00 -0000 Message-ID: <20060922223404.21995.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: "kreckel at ginac dot de" 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/msg02192.txt.bz2 List-Id: ------- Comment #4 from kreckel at ginac dot de 2006-09-22 22:34 ------- (In reply to comment #1) > This is not really a bug in C99 unless you use: > #pragma STDC FENV_ACCESS on > > But then again we don't implement that pramgma yet .... Okay, I was not aware of that pragma. Thank you for pointing it out. But what I find hard to grasp is why it works with previous releases. We have this library call fetestexcept(3) and with gcc 4.1 it basically stopped working. I would say this even qualifies as a regression, right? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29186