Message ID | 52F54545.4090009@sfr.fr |
---|---|
State | New |
Headers | show |
Le 07/02/2014 21:42, Mikael Morin a écrit : > maybe add gcc_assert to > make it clear that fini->proc_tree should be set at this point. Or better: a comment ;-)
diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c index d3569fd..20488c0 100644 --- a/gcc/fortran/class.c +++ b/gcc/fortran/class.c @@ -1880,8 +1880,6 @@ generate_finalization_wrapper (gfc_symbol *derived, gfc_namespace *ns, for (fini = derived->f2k_derived->finalizers; fini; fini = fini->next) { - if (!fini->proc_tree) - fini->proc_tree = gfc_find_sym_in_symtree (fini->proc_sym); if (fini->proc_tree->n.sym->attr.elemental)