From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22566 invoked by alias); 22 Dec 2008 21:29:03 -0000 Received: (qmail 22358 invoked by uid 48); 22 Dec 2008 21:27:44 -0000 Date: Mon, 22 Dec 2008 21:29:00 -0000 Message-ID: <20081222212744.22357.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-12/txt/msg02082.txt.bz2 ------- Comment #19 from jvdelisle at gcc dot gnu dot org 2008-12-22 21:27 ------- Yes, so far I am only working with 4.4. Regardless, it appears that on this platform the width is being computed incorrectly. I count 20 stars in the field width. The required field width for the output on x86-64 is 28. So there is an off by one 8-byte word going on here. I suspect that the decimal point shifting problem which is now fixed on 4.4 is a separate problem. I will keep at it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37472