[Bug libfortran/32611] Print sign of negative zero
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jul 15 16:29:00 GMT 2007
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-07-15 16:29 -------
Subject: Bug 32611
Author: jvdelisle
Date: Sun Jul 15 16:29:19 2007
New Revision: 126655
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126655
Log:
2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/32611
* gfortran.h (gfc_option_t): Add flag_sign_zero field.
* lang.opt (-fsign-zero): New option.
* trans.h: Rename gfor_fndecl_set_std into gfor_fndecl_set_options.
* trans-decl.c (gfc_build_builtin_function_decls): Build the function
declaration to pass an array containing the options to be used by the
runtime library. (gfc_generate_function_code): Build an array that
contains option values to be passed to the runtime library and the call
to the function.
* options.c (gfc_init_options): Initialize the flag_sign_zero field.
(gfc_handle_option): Handle the -fsign-zero option.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/fortran/trans-decl.c
trunk/gcc/fortran/trans.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32611
More information about the Gcc-bugs
mailing list