From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19568 invoked by alias); 17 Nov 2008 05:04:32 -0000 Received: (qmail 11602 invoked by uid 48); 17 Nov 2008 05:03:06 -0000 Date: Mon, 17 Nov 2008 05:04:00 -0000 Message-ID: <20081117050306.11600.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37472] bad output on default-format write of double in common block with -m64 flag i In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" 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: 2008-11/txt/msg01373.txt.bz2 ------- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-11-17 05:03 ------- The shifting of the decimal point between 1000. and 1001. is an artefact of how we compute the format specifiers in the OUTPUT_FLOAT macro in write_float.def. I am working on a solution to that part of this. The issue with the doubles in common I suspect is some sort of alignment issue, but I do not see it here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37472