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

--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mark Eggleston
<markeggles...@gcc.gnu.org>:

https://gcc.gnu.org/g:bae66e0f04323ba9d5daf60fcb997de925100e3e

commit r11-2065-gbae66e0f04323ba9d5daf60fcb997de925100e3e
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Wed Jun 10 07:22:50 2020 +0100

    Fortran  : accepts pointer initialization of DT dummy args PR45337

    Initialisation of a variable results in an implicit save attribute
    being added to the variable.  The save attribute is not allowed for
    variables with the dummy attribute set.  Initialisation should be
    rejected for dummy variables.

    2020-07-13  Mark Eggleston  <markeggles...@gcc.gnu.org>

    gcc/fortran/

            PR fortran/45337
            * resolve.c (resolve_fl_variable): Remove type and intent
            checks from the check for dummy.

    2020-07-13  Mark Eggleston  <markeggles...@gcc.gnu.org>

    gcc/testsuite/

            PR fortran/45337
            * gfortran.dg/pr45337_1.f90: New test.
            * gfortran.dg/pr45337_2.f90: New test.

Reply via email to