[PATCH, testsuite, fortran] fix invalid testcases (missing MOLD argument to NULL)

Mikael Morin morin-mikael@orange.fr
Thu Nov 23 09:38:52 GMT 2023


Hello,

Le 22/11/2023 à 22:02, Harald Anlauf a écrit :
> Dear all,
> 
> testcases assumed_rank_8.f90 and assumed_rank_10.f90 are invalid:
> NULL() is passed without MOLD to an assumed-rank dummy argument.
> 
> This is detected by NAG, but not yet by gfortran (see pr104819).
> gfortran even ignores the MOLD argument; the dump-tree is identical
> if MOLD is there or not.
> 
> Now these testcases are { dg-do run }.  Therefore I would like to
> fix these testcases, independent of the work on fixing pr104819.
> 
> Comments?
> 
Makes sense; OK from my point of view.

Mikael


More information about the Fortran mailing list