diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/resolve.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 8cbcac93..e31ecbd 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -5741,19 +5741,6 @@ resolve_fl_derived (gfc_symbol *sym) sym->ns->derived_types = dt_list; } - /* Add derived type to the derived type list. */ - for (dt_list = sym->ns->derived_types; dt_list; dt_list = dt_list->next) - if (sym == dt_list->derived) - break; - - if (dt_list == NULL) - { - dt_list = gfc_get_dt_list (); - dt_list->next = sym->ns->derived_types; - dt_list->derived = sym; - sym->ns->derived_types = dt_list; - } - return SUCCESS; } |