Many thanks, sir! I will look into it.

Paul

On Tue, 9 Apr 2019 at 17:43, Dominique d'Humières <domi...@lps.ens.fr> wrote:
>
> Hi Paul,
>
> With your patch the test gfortran.dg/ISO_Fortran_binding_9.f90 fails in the 
> 32 bit mode, due to the errors
>
> /opt/gcc/work/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_9.f90:24:6: 
> Error: Type mismatch in argument 'expected' at (1); passed INTEGER(4) to 
> INTEGER(8)
> /opt/gcc/work/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_9.f90:25:6: 
> Error: Type mismatch in argument 'expected' at (1); passed INTEGER(4) to 
> INTEGER(8)
> /opt/gcc/work/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_9.f90:26:6: 
> Error: Type mismatch in argument 'expected' at (1); passed INTEGER(4) to 
> INTEGER(8)
> /opt/gcc/work/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_9.f90:27:6: 
> Error: Type mismatch in argument 'expected' at (1); passed INTEGER(4) to 
> INTEGER(8)
>
> Note that LOC is a gnu extension.
>
> The patch also fixes pr89846 for -m64, but not for -m32
>
> % gfc pr89846.c pr89846.f90 -m32
> % a.out
>  FAIL 2:
>  FAIL 4:
> % gfc pr89846.c pr89846.f90
> % a.out
>  OK
>  OK
>
> TIA
>
> Dominique
>


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

Reply via email to