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

--- Comment #1 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:9ad19a66d751ab48515ef61f830e192ae4078b93

commit r11-2075-g9ad19a66d751ab48515ef61f830e192ae4078b93
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Mon Jul 6 07:14:59 2020 +0100

    Fortran  : Implicitly type parameter causes an invalid error PR96038

    If a paramter to declared and initialised before its type is
    declared a bogus error is output at the type declaration
    idicating that initialisation is missing.

    2020-07-14  Steven G. Kargl  <ka...@gcc.gnu.org>

    gcc/fortran/

            PR fortran/96038
            * decl.c (add_init_expr_sym):  For a symbol that is a
            parameter accept an initialisation if it does not have a
            value otherwise output a error and reject.

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

    gcc/testsuite/

            PR fortran/96038
            * gfortran.dg/pr96038.f90: New test.

Reply via email to