From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20958 invoked by alias); 21 Jul 2013 12:02:19 -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 Received: (qmail 18682 invoked by uid 48); 21 Jul 2013 12:00:15 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/35862] [F2003] Implement new rounding modes for run time Date: Sun, 21 Jul 2013 12:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg00943.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35862 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #28 from Tobias Burnus --- Close as FIXED (on the trunk [= GCC 4.9]) - as now also the input rounding (READ) works. Note: - COMPATIBLE rounding is not supported for READ. (Compatible = like nearest, except it should always round away from zero for a tie.) - But I think this shouldn't matter much for input rounding. - Not on all systems, rounding on input works. It relies on rounding support of strtof/strtod/strtold. At least GLIBC handles it. (Setting the rounding mode of the CPU works at least for GLIBC, SysV, AIX and on x86/x86-64 systems.)