re PR libfortran/32611 (Print sign of negative zero)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 15 Jul 2007 16:29:19 +0000 (16:29 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 15 Jul 2007 16:29:19 +0000 (16:29 +0000)
commit68d2e027fa110ac1561547716f64cdb9273ecbfb
treeb304f4c7c4a642c3aa3b7788e5ba9d05dae4bc02
parent2bb6de3a7e8d27b8f7ea7139fbee5f33c32bf3e5
re PR libfortran/32611 (Print sign of negative zero)

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.

Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
From-SVN: r126655
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/trans-decl.c
gcc/fortran/trans.h