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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Sep 13 21:15:26 2017
New Revision: 252734

URL: https://gcc.gnu.org/viewcvs?rev=252734&root=gcc&view=rev
Log:
2017-09-13  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/82173
        * decl.c (match_char_kind): If the kind expression is
        parameterized, save it in saved_kind_expr and set kind = 0.
        (gfc_get_pdt_instance): Resolve and simplify before emitting
        error on expression kind. Insert a missing simplification after
        insertion of kind expressions.

2017-09-13  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/82173
        * gfortran.dg/pdt_10.f03 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pdt_10.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to