[Bug fortran/82173] [meta-bug] Parameterized derived type errors
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 21:16:00 GMT 2017
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 <pault@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 <pault@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
More information about the Gcc-bugs
mailing list