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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Benson <abenso...@gcc.gnu.org>:

https://gcc.gnu.org/g:7848054c68bad6e2aa40cb59f77cc99bd8448d52

commit r10-6560-g7848054c68bad6e2aa40cb59f77cc99bd8448d52
Author: Andrew Benson <aben...@carnegiescience.edu>
Date:   Mon Feb 10 17:59:34 2020 +0000

    Fix bogus duplicate attribute errors for submodule functions.

            PR fortran/83113
            * array.c: Do not attempt to set the array spec for a submodule
            function symbol (as it has already been set in the corresponding
            module procedure interface).
            * symbol.c: Do not reject duplicate POINTER, ALLOCATABLE, or
            DIMENSION attributes in declarations of a submodule function.
            * gfortran.h: Add a macro that tests for a module procedure in a
            submodule.
            * gfortran.dg/pr83113.f90: New test.

Reply via email to