[PATCH, fortran] Interoperability with C int128_t types

Sa Liu SALIU@de.ibm.com
Tue Apr 15 11:18:00 GMT 2008


> The Gfortran frontend has its own ChangeLog in gcc/fortran/ChangeLog. 
> Use that for the parts of a patch that only touches the frontend.

Sorry I didn't notice that. The following is the new ChangLog part:

Index: gcc/gcc/fortran/ChangeLog
===================================================================
--- gcc.orig/gcc/fortran/ChangeLog
+++ gcc/gcc/fortran/ChangeLog
@@ -1,3 +1,22 @@
+2008-04-15  Sa Liu  <saliu@de.ibm.com>
+       * fortran/iso-c-binding.def: Add standard parameter to macro
+       NAMED_INTCST. All existing NAMED_INTCST definitions has standard
+       GFC_STD_F2003, c_int128_t, c_int_least128_t and c_int_fast128_t
+       are added as GNU extensions.
+       * fortran/iso-fortran-evn.def: Add standard parameter 
GFC_STD_F2003
+       to macro NAMED_INTCST.
+       * fortran/symbol.c (gnu_only_isocbinding): New helper funciton to
+       check types only supported as GNU extensions.
+       (generate_isocbinding_symbol): Do not generate GNU extension 
symbols
+       if std=f2003. Add new parameter to NAMED_INTCST.
+       * fortran/module.c (use_iso_fortran_env_module): Add new parameter
+       to NAMED_INTCST.
+       * fortran/gfortran.h: Add new parameter to NAMED_INTCST.
+       * fortran/trans-types.c (init_c_interop_kinds): Add new parameter
+       to NAMED_INTCST.
+       * testsuite/gfortran.dg/c_kind_int128_test1.f03: New.
+       * testsuite/gfortran.dg/c_kind_int128_test2.f03: New.
+
 2008-04-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>
 

Thanks!
Sa



More information about the Fortran mailing list