[Bug fortran/95586] ICE in gfc_validate_kind, at fortran/trans-types.c:773
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 9 01:35:22 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95586
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org ---
Index: gcc/fortran/decl.c
===================================================================
--- gcc/fortran/decl.c (revision 280157)
+++ gcc/fortran/decl.c (working copy)
@@ -4764,7 +4764,7 @@ gfc_match_implicit (void)
/* Last chance -- check <TYPE> <SELECTOR> (<RANGE>). */
if (ts.type == BT_CHARACTER)
m = gfc_match_char_spec (&ts);
- else
+ else if (ts.type != BT_DERIVED)
{
m = gfc_match_kind_spec (&ts, false);
if (m == MATCH_NO)
More information about the Gcc-bugs
mailing list