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

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

https://gcc.gnu.org/g:99c5fa3ba6b5f54a7d632bd9da0e07dd85a4b669

commit r14-6382-g99c5fa3ba6b5f54a7d632bd9da0e07dd85a4b669
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Dec 8 13:57:31 2023 +0100

    Fortran: allow NULL() for POINTER, OPTIONAL, CONTIGUOUS dummy [PR111503]

    gcc/fortran/ChangeLog:

            PR fortran/111503
            * expr.cc (gfc_is_simply_contiguous): Determine characteristics of
            NULL() from optional MOLD argument, otherwise treat as contiguous.
            * primary.cc (gfc_variable_attr): Derive attributes of NULL(MOLD)
            from MOLD.

    gcc/testsuite/ChangeLog:

            PR fortran/111503
            * gfortran.dg/contiguous_14.f90: New test.

Reply via email to