From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22848 invoked by alias); 17 Aug 2011 06:22:56 -0000 Received: (qmail 22836 invoked by uid 22791); 17 Aug 2011 06:22:55 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 17 Aug 2011 06:22:42 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/50105] Possibly: [4.3/4.4/4.5/4.6/4.7 Regression] I/O with g6.5 - wrong number of "**" shown Date: Wed, 17 Aug 2011 06:40: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-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org 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: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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-08/txt/msg01472.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50105 --- Comment #1 from Tobias Burnus 2011-08-17 06:22:20 UTC --- Actually, I think that this bug is invalid - but wait for the answers at the J3 mailing list. The reason I think that I think that 6 asterisks should be produced are stated below. However, it would not be the first time that I missed something. We have (refs = F2008): R1007 data-edit-desc is ... or G w [ . d [ E e ] ] such that for G6.5, one has "w = 6". And thus, I expect 6 "*" as: if the "characters produced exceeds the field width, the processor shall fill the entire field of width w with asterisks" Full quote: 10.7.2 Numeric editing, 10.7.2.1 General rules states: "(5) On output, if an exponent exceeds its specified or implied width using the E, EN, ES, D, or G edit descriptor, or the number of characters produced exceeds the field width, the processor shall fill the entire field of width w with asterisks. However, the processor shall not produce asterisks if the field width is not exceeded when optional characters are omitted."