As advertised in the subject line. Thanks to Uros Bizjak for the inspiration. There are still a lot of module files left over from running gfortran.fortran-torture, since (as Kaveh pointed out) that doesn't recognize dg-final directives. I've got a patch that adds the directives, but not one for recognizing them yet.... Anyhow, tested on i686-pc-linux-gnu, and committed to trunk. ---------------------------------------------------------------- 2007-03-26 Brooks Moses * gfortran.dg/func_derived_4.f90: Fix module cleanup. * gfortran.dg/gomp/appendix-a/a.22.4.f90: Clean up modules. * gfortran.dg/gomp/appendix-a/a.26.2.f90: Likewise. * gfortran.dg/gomp/appendix-a/a.32.1.f90: Likewise. * gfortran.dg/overload_1.f90: Likewise. * gfortran.dg/impure_assignment_1.f90: Likewise. * gfortran.dg/error_recovery_3.f90: Likewise. * gfortran.dg/alloc_comp_basics_1.f90: Likewise. * gfortran.dg/sequence_types_1.f90: Likewise. * gfortran.dg/internal_references_1.f90: Likewise. * gfortran.dg/present_1.f90: Likewise. * gfortran.dg/volatile10.f90: Likewise. * gfortran.dg/module_equivalence_2.f90: Likewise. * gfortran.dg/use_4.f90: Likewise. * gfortran.dg/elemental_result_1.f90: Likewise. * gfortran.dg/generic_actual_arg.f90: Likewise. * gfortran.dg/private_type_5.f90: Likewise. * gfortran.dg/protected_4.f90: Likewise. * gfortran.dg/interface_3.f90: Likewise. ---------------------------------------------------------------- - Brooks