Re: [PATCH] Fortran : ICE in gfc_validate_kind PR96099

2020-10-04 Thread Thomas Koenig via Gcc-patches
Hi Mark, This is a follow up to PR95586 which fixed only the ICE that occurred when using derived types in an implicit statement.  The ICE occurred because an attempt was made to determine kind for types that do not have kinds. This patch ensures that kind is only determined for types that s

[PATCH] Fortran : ICE in gfc_validate_kind PR96099

2020-10-01 Thread Mark Eggleston
kind. OK for master? Is it worth backporting? [PATCH] Fortran  : ICE in gfc_validate_kind PR96099 Only check for kind if the type supports kind. 2020-10-02  Mark Eggleston /gcc/fortran     PR fortran/96099     * decl.c (gfc_match_implicit): Check for numeric and logical     types. 2020-10-02