iso-fortran-env.def: Define INT8, INT16, INT32, INT64, REAL32, REAL64 and REAL128.
commite0a6661b792947c0f09d6bdb3b9ee98723b2993f
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 17 May 2009 14:15:24 +0000 (17 14:15 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 17 May 2009 14:15:24 +0000 (17 14:15 +0000)
treec7f85acefa293bc83adb36c5df2e6e8a165c5eb0
parent965cc3c3aad4e7b106debe7c3870ef1d537aad8f
iso-fortran-env.def: Define INT8, INT16, INT32, INT64, REAL32, REAL64 and REAL128.

* iso-fortran-env.def: Define INT8, INT16, INT32, INT64, REAL32,
REAL64 and REAL128.
* gfortran.h (gfc_get_int_kind_from_width_isofortranenv,
gfc_get_real_kind_from_width_isofortranenv): New prototypes.
* iso-c-binding.def: Update definitions for the INT*_T,
INT_LEAST*_T and INT_FAST*_T named parameters.
* trans-types.c (get_typenode_from_name, get_int_kind_from_name,
gfc_get_real_kind_from_width_isofortranenv): New functions.

* gfortran.dg/c_kind_int128_test1.f03: Also test C_INT_FAST128_T.
* gfortran.dg/c_kind_int128_test2.f03: Update comment.
* gfortran.dg/c_kind_params.f90: Also test int_fast*_t.
* gfortran.dg/c_kinds.c: Add int_fast*_t arguments.

From-SVN: r147635
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/iso-c-binding.def
gcc/fortran/iso-fortran-env.def
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_kind_int128_test1.f03
gcc/testsuite/gfortran.dg/c_kind_int128_test2.f03
gcc/testsuite/gfortran.dg/c_kind_params.f90
gcc/testsuite/gfortran.dg/c_kinds.c