diff options
author | Aldy Hernandez <aldyh@gcc.gnu.org> | 2006-12-05 17:53:35 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2006-12-05 17:53:35 +0000 |
commit | d5733d10bddcda17c52683973bc01f289951383d (patch) | |
tree | 080d7aadace3024b86dc5f26b56662d0fefefb6b /gcc | |
parent | 07beea0df36b29ef9acb27111eac0b0e92e181a5 (diff) | |
download | gcc-d5733d10bddcda17c52683973bc01f289951383d.zip gcc-d5733d10bddcda17c52683973bc01f289951383d.tar.gz gcc-d5733d10bddcda17c52683973bc01f289951383d.tar.bz2 |
Revert accidental change.
From-SVN: r119547
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; } |