From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27634 invoked by alias); 14 Feb 2006 14:50:45 -0000 Received: (qmail 27611 invoked by alias); 14 Feb 2006 14:50:43 -0000 Date: Tue, 14 Feb 2006 14:50:00 -0000 Message-ID: <20060214145043.27610.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/25425] [4.1 only] F95 and F2003 differ on list-directed output for 0.0 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg01537.txt.bz2 List-Id: ------- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-02-14 14:50 ------- Subject: Bug 25425 Author: fxcoudert Date: Tue Feb 14 14:50:40 2006 New Revision: 110973 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110973 Log: PR libfortran/25425 * trans-decl.c (gfc_generate_function_code): Add new argument, pedantic, to set_std call. * libgfortran.h: Add pedantic field to compile_options struct. * io/write.c (calculate_G_format): Depending on the standard, choose E or F format for list-directed output of 0.0. * runtime/error.c (notify_std): Make warning and error dependent on pedanticity. * runtime/compile_options.c (set_std): Use new pedantic argument. Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/trans-decl.c branches/gcc-4_1-branch/libgfortran/ChangeLog branches/gcc-4_1-branch/libgfortran/io/write.c branches/gcc-4_1-branch/libgfortran/libgfortran.h branches/gcc-4_1-branch/libgfortran/runtime/compile_options.c branches/gcc-4_1-branch/libgfortran/runtime/error.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25425