From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4804 invoked by alias); 27 Mar 2014 22:31:10 -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 4769 invoked by uid 48); 27 Mar 2014 22:31:05 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60128] [4.8/4.9 Regression] Wrong ouput using en edit descriptor Date: Thu, 27 Mar 2014 22:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-03/txt/msg02548.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60128 --- Comment #56 from Dominique d'Humieres --- > So, probably abort shouldn't be called when rounding isn't supported. The problem is that the rounding to even on tie seems supported by hpux, but for 98765.0_16 or -98765.0_16: 6 successes out of 8 tests. Could you post the output of print '(3PE10.3)', 987350._4 print '(3PE10.3)', 987350._8 print '(3PE10.3)', 987350._16 print '(2PE10.3)', 98765.0_4 print '(2PE10.3)', 98765.0_8 print '(2PE10.3)', 98765.0_16 end My problem is to know if this is coming from the default printing libs or from the EN format in libfortran. On *-*-darwin* I get 987.4E+03 987.4E+03 987.4E+03 98.76E+03 98.76E+03 98.76E+03