From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2076 invoked by alias); 27 May 2011 18:41:56 -0000 Received: (qmail 2061 invoked by uid 22791); 27 May 2011 18:41:55 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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; Fri, 27 May 2011 18:41:42 +0000 From: "thenlich at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/49188] Mismatch between -fsign-zero documentation and formatted output X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: thenlich at users dot sourceforge.net 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: Severity 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 Date: Fri, 27 May 2011 18:46: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/msg02733.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49188 Thomas Henlich changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor --- Comment #2 from Thomas Henlich 2011-05-27 18:41:38 UTC --- In this case a more precise documentation should be something like: "When enabled, floating point numbers with the sign bit set are always written with a negative sign even if the formatted output contains no other digits than zero. In addition, floating point numbers of value zero with the sign bit set are treated as negative in the SIGN intrinsic. fno-sign-zero does not print the negative sign of such values and regards zero as positive number in the SIGN intrinsic for compatibility with g77. fsign-zero is the default."