General Page
XL Fortran started adding support for Technical Specification 29113 for Further Fortran interoperability with C (TS29113) in version 15.1 of the compiler. This document lists the TS29113 features currently supported by XL Fortran. The feature names follow the ones used by Ian Chivers and Jane Sleightholme in their excellent Fortran Forum article, "Compiler Support for the Fortran 2003 and 2008 Standards", which in turn are based on discussions in the J3 mailing list.
| TS29113 feature | Supported? | Notes | First added in |
| ISO_Fortran_binding.h | Y | Fully TS29113-compliant | 15.1 |
| CFI_CDESC_T macro | Y | 15.1 | |
| CFI_* functions declared in ISO_Fortran_binding.h | Y | 15.1 | |
| Assumed rank (DIMENSION(..)) | Y | 15.1 | |
| Assumed type (TYPE(*)) | Y | 15.1 | |
| Pass scalar to TYPE(*), DIMENSION(*) | Y | 15.1.1 | |
| Relaxed restrictions for C_LOC, C_F_POINTER | Y | 15.1.1 | |
| Relaxed restrictions for C_FUNLOC, C_F_PROCPTR | Y | 15.1.1 | |
| ASYNCHRONOUS attribute on dummy arguments in interface blocks | Y | 15.1 | |
| RANK intrinsic function | Y | 15.1 | |
| Changes to SHAPE, SIZE, UBOUND | Y | 15.1 | |
| Assumed-shape dummy arguments for BIND(C) | N | ||
| Allocatable dummy arguments for BIND(C) | Y | 15.1 | |
| Pointer dummy arguments for BIND(C) | Y | 15.1 | |
| Optional arguments for BIND(C) | Y | 15.1 | |
| Assumed-length character arguments for BIND(C) | P |
Assumed-length character array dummy arguments with bounds that depend on other dummy arguments are not supported. |
15.1.2 |
Was this topic helpful?
Document Information
Modified date:
24 February 2022
UID
ibm11138858