[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 23 18:32:55 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:7646b5d88056cf269ff555afe95bc361dcf5e5c0

commit r14-5798-g7646b5d88056cf269ff555afe95bc361dcf5e5c0
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Wed Nov 22 21:45:46 2023 +0100

    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.


More information about the Gcc-bugs mailing list