gcc/libgfortran/io
Tobias Burnus 82a4f54cc5 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
2013-07-21 13:54:27 +02:00
..
close.c
fbuf.c
fbuf.h
file_pos.c
format.c re PR libfortran/56737 (Wrong I/O result with format cache for Hollerith strings) 2013-03-29 10:39:47 +01:00
format.h
inquire.c
intrinsics.c
io.h re PR libfortran/35862 ([F2003] Implement new rounding modes for run time) 2013-07-21 13:54:27 +02:00
list_read.c re PR fortran/57633 (I/O: Problem with formatted read: reading CR-LF files (\r\n)) 2013-06-20 12:55:03 +02:00
lock.c
open.c environ.c: Include unistd.h. 2013-05-04 17:23:11 -04:00
read.c re PR libfortran/35862 ([F2003] Implement new rounding modes for run time) 2013-07-21 13:54:27 +02:00
size_from_kind.c
transfer128.c
transfer.c PR 56981 Improve unbuffered performance on special files. 2013-04-29 11:42:00 +03:00
unit.c
unix.c environ.c: Include unistd.h. 2013-05-04 17:23:11 -04:00
unix.h PR 56981 Improve unbuffered performance on special files. 2013-04-29 11:42:00 +03:00
write_float.def re PR libfortran/57496 (I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow) 2013-06-03 11:20:46 +02:00
write.c