From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22144 invoked by alias); 28 Dec 2008 03:55:16 -0000 Received: (qmail 22007 invoked by uid 48); 28 Dec 2008 03:53:55 -0000 Date: Sun, 28 Dec 2008 03:55:00 -0000 Message-ID: <20081228035355.22006.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes 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/msg02533.txt.bz2 ------- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-12-28 03:53 ------- Something is amiss. Yes the change to fmt_g0_1.f08 is necessary. The output should have no blank spaces in the fields for floating point. This test case runs fine here, maybe your trunk is not fully updated? $ cat fmt_g0_1.f08 character(25) :: string = "(g0,g0,g0)" character(33) :: buffer write(*, '(g0,g0,g0)') ':',12340,':' write(*, string) ':',0,':' write(*, string) ':',1.0/3.0,':' write(*, '(1x,a,g0,a)') ':',1.0/3.0,':' write(*, string) ':',"hello",':' write(*, "(g0,g0,g0,g0)") ':',.true.,.false.,':' write(*, "(g0,g0,',',g0,g0)") '(',( 1.2345, 2.4567 ),')' end $ ./a.out :12340: :0: :.33333334: :.33333334: :hello: :TF: (1.2345001,2.4567001) $ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38398