-
- Downloads
re PR libfortran/35862 ([F2003] Implement new rounding modes for run time)
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* libgfortran.h (GFC_FPE_DOWNWARD, GFC_FPE_TONEAREST,
GFC_FPE_TOWARDZERO, GFC_FPE_UPWARD): New defines.
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* libgfortran.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): New prototypes.
* config/fpu-387.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): New functions.
* config/fpu-aix.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-generic.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-glibc.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-sysv.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* configure.ac: Check for fp_rnd and fp_rnd_t.
* io/io.h (enum unit_round): Use GFC_FPE_* for the value.
* io/read.c (convert_real): Set FP ronding mode.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* gfortran.dg/round_4.f90: New.
Co-Authored-By:
Uros Bizjak <ubizjak@gmail.com>
From-SVN: r201093
Showing
- gcc/fortran/ChangeLog 6 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/libgfortran.h 6 additions, 0 deletionsgcc/fortran/libgfortran.h
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/round_4.f90 102 additions, 0 deletionsgcc/testsuite/gfortran.dg/round_4.f90
- libgfortran/ChangeLog 24 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/Makefile.in 18 additions, 25 deletionslibgfortran/Makefile.in
- libgfortran/aclocal.m4 27 additions, 47 deletionslibgfortran/aclocal.m4
- libgfortran/config.h.in 6 additions, 0 deletionslibgfortran/config.h.in
- libgfortran/config/fpu-387.h 82 additions, 2 deletionslibgfortran/config/fpu-387.h
- libgfortran/config/fpu-aix.h 72 additions, 0 deletionslibgfortran/config/fpu-aix.h
- libgfortran/config/fpu-generic.h 13 additions, 0 deletionslibgfortran/config/fpu-generic.h
- libgfortran/config/fpu-glibc.h 72 additions, 0 deletionslibgfortran/config/fpu-glibc.h
- libgfortran/config/fpu-sysv.h 73 additions, 0 deletionslibgfortran/config/fpu-sysv.h
- libgfortran/configure 29 additions, 12 deletionslibgfortran/configure
- libgfortran/configure.ac 1 addition, 0 deletionslibgfortran/configure.ac
- libgfortran/io/io.h 8 additions, 2 deletionslibgfortran/io/io.h
- libgfortran/io/read.c 20 additions, 0 deletionslibgfortran/io/read.c
- libgfortran/libgfortran.h 7 additions, 0 deletionslibgfortran/libgfortran.h
Loading
Please register or sign in to comment