------- Comment #22 from paul dot richard dot thomas at cea dot fr 2006-09-01
08:11 -------
Created an attachment (id=12166)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12166&action=view)
A partial reversion to the previous method of type association.
This regests OK on trunk and fixes the problems(regressions!) below.
Sufficient of the original patch remains that the PRs that it was intended to
fix remain fixed.
My apologies to one and all for this struggle but the result has been an
improved gfortran.
HJ, you will see that in submitting to the list , I have required your green
light before committing. If you have time today, I would be very grateful if
you would test the patch, relative to trunk.
Best regards
Paul
2006-09-01 Paul Thomas <[EMAIL PROTECTED]>
PR fortran/28908
REGRESSION FIX
* gfortran.h : Restore the gfc_dt_list structure and reference
to it in gfc_namespace.
* resolve.c (resolve_fl_derived): Restore the building of the
list of derived types for the current namespace.
* symbol.c (gfc_free_dt_list): Restore.
(gfc_free_namespace): Restore call to previous.
* trans-types.c (copy_dt_decls_ifequal): Restore.
(gfc_get_derived_type): Restore all the paraphenalia for
association of derived types, including calls to previous.
2006-09-01 Paul Thomas <[EMAIL PROTECTED]>
PR fortran/28908
* gfortran.dg/used_types_7.f90: New test.
* gfortran.dg/used_types_8.f90: New test.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28908