From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11847 invoked by alias); 12 May 2011 16:04:51 -0000 Received: (qmail 11827 invoked by uid 22791); 12 May 2011 16:04:49 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 May 2011 16:03:56 +0000 From: "nicolai.stange at zmaw dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/48982] New: libgfortran on sysv never uses fpsetmask X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolai.stange at zmaw dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 12 May 2011 16:16:00 -0000 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: 2011-05/txt/msg01036.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48982 Summary: libgfortran on sysv never uses fpsetmask Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: nicolai.stange@zmaw.de I'm working on Solaris10/SPARC. nic@nic-desktop:~/gcc-4.5.3$ grep -r have_fpsetmask . | grep -v libgfor_ ./libgfortran/configure.host:if test "x${have_fpsetmask}" = "xyes"; then nic@nic-desktop:~/gcc-4.5.3$ have_fpsetmask won't ever be set anywhere. libgfor_cv_have_fpsetmask ist set and should be tested instead. This results in set_fpu coming from fpu-generic.h. Compiling code w. -ffpe-trap=invalid,zero,overflow results in the following warnings when executing the code: Fortran runtime warning: IEEE 'invalid operation' exception not supported. Fortran runtime warning: IEEE 'division by zero' exception not supported. Fortran runtime warning: IEEE 'overflow' exception not supported. Best regards Nicolai