-
- Downloads
c99_functions.c (log10l): New log10l function for systems where this is not available.
* intrinsics/c99_functions.c (log10l): New log10l function for systems where this is not available. * c99_protos.h: Prototype for log10l function. * libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*, GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update prototypes for gfc_itoa and xtoa. * io/io.h: Update prototypes for set_integer and max_value. * io/list_read.c (convert_integer): Use new GFC_(INTEGER|REAL)_LARGEST type. * io/read.c (set_integer): Likewise. (max_value): Likewise. (convert_real): Likewise. (real_l): Likewise. (next_char): Likewise. (read_decimal): Likewise. (read_radix): Likewise. (read_f): Likewise. * io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type. (extract_real): Use new GFC_REAL_LARGEST type. (calculate_exp): Likewise. (calculate_G_format): Likewise. (output_float): Likewise. Use log10l for long double values. Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT. (write_l): Use new GFC_INTEGER_LARGEST type. (write_float): Use new GFC_REAL_LARGEST type. (write_int): Remove useless special case for (len < 8). (write_decimal): Use GFC_INTEGER_LARGEST. (otoa): Use GFC_UINTEGER_LARGEST as argument. (btoa): Use GFC_UINTEGER_LARGEST as argument. * runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as argument. (xtoa): Use GFC_UINTEGER_LARGEST as argument. * Makefile.am: Use mk-kinds-h.sh to generate header kinds.h with all Fortran kinds available. * configure.ac: Check for strtold and log10l. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. * mk-kinds-h.sh: Configuration script for available integer and real kinds. * lib/target-supports.exp: Add check_effective_target_fortran_large_real and check_effective_target_fortran_large_int to check for corresponding effective targets. * gfortran.dg/large_integer_kind_1.f90: New test. * gfortran.dg/large_real_kind_1.f90: New test. From-SVN: r101274
Showing
- gcc/testsuite/ChangeLog 9 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/large_integer_kind_1.f90 38 additions, 0 deletionsgcc/testsuite/gfortran.dg/large_integer_kind_1.f90
- gcc/testsuite/gfortran.dg/large_real_kind_1.f90 77 additions, 0 deletionsgcc/testsuite/gfortran.dg/large_real_kind_1.f90
- gcc/testsuite/lib/target-supports.exp 76 additions, 0 deletionsgcc/testsuite/lib/target-supports.exp
- libgfortran/ChangeLog 45 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/Makefile.am 4 additions, 1 deletionlibgfortran/Makefile.am
- libgfortran/Makefile.in 10 additions, 9 deletionslibgfortran/Makefile.in
- libgfortran/aclocal.m4 114 additions, 241 deletionslibgfortran/aclocal.m4
- libgfortran/c99_protos.h 4 additions, 0 deletionslibgfortran/c99_protos.h
- libgfortran/config.h.in 6 additions, 0 deletionslibgfortran/config.h.in
- libgfortran/configure 87 additions, 350 deletionslibgfortran/configure
- libgfortran/configure.ac 2 additions, 1 deletionlibgfortran/configure.ac
- libgfortran/intrinsics/c99_functions.c 38 additions, 0 deletionslibgfortran/intrinsics/c99_functions.c
- libgfortran/io/io.h 2 additions, 2 deletionslibgfortran/io/io.h
- libgfortran/io/list_read.c 1 addition, 1 deletionlibgfortran/io/list_read.c
- libgfortran/io/read.c 62 additions, 22 deletionslibgfortran/io/read.c
- libgfortran/io/write.c 71 additions, 42 deletionslibgfortran/io/write.c
- libgfortran/libgfortran.h 3 additions, 16 deletionslibgfortran/libgfortran.h
- libgfortran/mk-kinds-h.sh 65 additions, 0 deletionslibgfortran/mk-kinds-h.sh
- libgfortran/runtime/error.c 3 additions, 3 deletionslibgfortran/runtime/error.c
Loading
Please register or sign in to comment