Re: [Patch, fortran] A first small step towards CFI descriptor implementation

2018-08-02 Thread Paul Richard Thomas
The ordering is fixed by the ordering of types in the CFI part of the standard. Intrinsic types, then derived types and finally all the others. For the time being I will interchange character and derived types in the conversion functions. Cheers Paul On Tue, 31 Jul 2018 at 18:10, Janus Weil wro

Re: [Patch, fortran] A first small step towards CFI descriptor implementation

2018-07-31 Thread Janus Weil
Hi Paul, 2018-07-31 14:06 GMT+02:00 Paul Richard Thomas : > Daniel Celis Garza and Damian Rouson have developed a runtime library > and include file for the TS 29113 and F2018 C descriptors. > https://github.com/sourceryinstitute/ISO_Fortran_binding > > The ordering of types is different to the cu

Re: [Patch, fortran] A first small step towards CFI descriptor implementation

2018-07-31 Thread Paul Richard Thomas
Hi Richard, Ah yes, you are absolutely right. I will sit on it for a bit and do the interchange at the descriptor conversion stage for now. Thanks Paul On Tue, 31 Jul 2018 at 15:57, Richard Biener wrote: > > On Tue, Jul 31, 2018 at 2:07 PM Paul Richard Thomas > wrote: > > > > Daniel Celis Garz

Re: [Patch, fortran] A first small step towards CFI descriptor implementation

2018-07-31 Thread Richard Biener
On Tue, Jul 31, 2018 at 2:07 PM Paul Richard Thomas wrote: > > Daniel Celis Garza and Damian Rouson have developed a runtime library > and include file for the TS 29113 and F2018 C descriptors. > https://github.com/sourceryinstitute/ISO_Fortran_binding > > The ordering of types is different to the