From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5769 invoked by alias); 13 Feb 2007 04:32:42 -0000 Received: (qmail 5732 invoked by uid 48); 13 Feb 2007 04:32:31 -0000 Date: Tue, 13 Feb 2007 04:32:00 -0000 Message-ID: <20070213043231.5731.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/30780] cpu_time produces a floating point exception when used with -O0 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg01362.txt.bz2 ------- Comment #4 from pinskia at gcc dot gnu dot org 2007-02-13 04:32 ------- I have no idea how to fix this problem at the moment. It is hard as there are no functions which convert from a floating point to an integer that might not raise a signal. This is why setting trapping on precision is almost something you never want to do. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |libfortran http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30780