Implementation of F2018:18.4 C descriptors and ISO_Fortran_binding.h

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Dec 17 20:51:00 GMT 2018


The attached update of the testcase fixes the problem. The type of
'upper' and 'lower' is changed to integer(C_INTPTR_T) twice. It now
runs with -m32.

Many thanks

Paul

On Mon, 17 Dec 2018 at 10:56, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>
>
>
> > Thanks for the heads up on this failure in 32 bit mode.  Was there a
> > just a failure in ISO_Fortran_binding_1.f90 or did
> > ISO_Fortran_binding_1.c fail as well?
>
> Only ISO_Fortran_binding_1.f90 at compile time. I don’t know what will happen after a fix.
>
> Dominique
>
> >> Then the test gfortran.dg/ISO_Fortran_binding_1.c failed for the 32 bit mode:
> >>
> >> /opt/gcc/work/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90:142:8:
> >
> >
> > Many thanks for giving this a whirl.
> >
> > Paul
>


-- 
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein



More information about the Fortran mailing list