]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: fortran: fix invalid testcases (missing MOLD argument to NULL)
authorHarald Anlauf <anlauf@gmx.de>
Wed, 22 Nov 2023 20:45:46 +0000 (21:45 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 23 Nov 2023 18:07:16 +0000 (19:07 +0100)
commit7646b5d88056cf269ff555afe95bc361dcf5e5c0
tree9d289a56a37ad9b229b4f84d0efd5fb70c537812
parent0c2ecfd4a29161d6c2bd3a83335387f42ff38ffe
testsuite: fortran: fix invalid testcases (missing MOLD argument to NULL)

The Fortran standard requires that NULL() passed to an assumed-rank
dummy argument has a MOLD argument.

gcc/testsuite/ChangeLog:

PR fortran/104819
* gfortran.dg/assumed_rank_10.f90: Add MOLD argument to NULL().
* gfortran.dg/assumed_rank_8.f90: Likewise.
gcc/testsuite/gfortran.dg/assumed_rank_10.f90
gcc/testsuite/gfortran.dg/assumed_rank_8.f90