This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/32611] Print sign of negative zero



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2007-07-15 16:26 -------
Subject: Bug 32611

Author: jvdelisle
Date: Sun Jul 15 16:26:22 2007
New Revision: 126654

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126654
Log:
2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
            Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR fortran/32611
        * runtime/compile_options.c (set_std): Remove.
        (set_options): New function.
        (init_compile_options): Add initialization for -fsign-zero option.
        * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
        _gfortran_set_options.
        * libgfortran.h (compile_options_t): Add sign_zero field.
        * io/write.c (output_float): Use the sign bit of the value to determine
        if a negative sign should be emitted for zero values.  Do not emit the
        negative sign for zero if -fno-sign-zero was set during compile.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/gfortran.map
    trunk/libgfortran/io/write.c
    trunk/libgfortran/libgfortran.h
    trunk/libgfortran/runtime/compile_options.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32611


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]