diff options
author | Steven G. Kargl <kargl@gcc.gnu.org> | 2009-07-10 00:36:20 +0000 |
---|---|---|
committer | Steven G. Kargl <kargl@gcc.gnu.org> | 2009-07-10 00:36:20 +0000 |
commit | 9eb5c65cfbff59804fe170075466ae5f00496198 (patch) | |
tree | d405c7e284f1a5cd6230e87fee5369fafdd01aa3 /gcc | |
parent | 06c43499b3210be5c7df5b014e26b254fd6a8bc0 (diff) | |
download | gcc-9eb5c65cfbff59804fe170075466ae5f00496198.zip gcc-9eb5c65cfbff59804fe170075466ae5f00496198.tar.gz gcc-9eb5c65cfbff59804fe170075466ae5f00496198.tar.bz2 |
c_kind_tests_2.f03: clean-up leftover module(s).
2009-07-09 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/c_kind_tests_2.f03: clean-up leftover module(s).
* gfortran.dg/module_equivalence_6.f90: Ditto.
* gfortran.dg/alloc_comp_auto_array_2.f90: Ditto.
* gfortran.dg/nan_2.f90: Ditto.
* gfortran.dg/inquire_11.f90: Ditto.
* gfortran.dg/abstract_type_3.f03: Ditto.
* gfortran.dg/abstract_type_1.f90: Ditto.
* gfortran.dg/private_type_9.f90: Ditto.
* gfortran.dg/abstract_type_5.f03: Ditto.
* gfortran.dg/elemental_subroutine_6.f90: Ditto.
* gfortran.dg/derived_comp_array_ref_3.f90: Ditto.
* gfortran.dg/derived_sub.f90: Ditto.
* gfortran.dg/missing_optional_dummy_5.f90: Ditto.
* gfortran.dg/bounds_check_fail_2.f90: Ditto.
* gfortran.dg/maxloc_bounds_6.f90: Ditto.
* gfortran.dg/mvbits_6.f90: Ditto.
* gfortran.dg/abstract_type_2.f03: Ditto.
* gfortran.dg/abstract_type_4.f03: Ditto.
* gfortran.dg/bounds_check_9.f90: Ditto.
* gfortran.dg/optional_dim_3.f90: Ditto.
* gfortran.dg/pr32921.f: Ditto.
* gfortran.dg/entry_16.f90: Ditto.
* gfortran.dg/generic_16.f90: Ditto.
From-SVN: r149454
Diffstat (limited to 'gcc')
24 files changed, 50 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 674429c..333544c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,30 @@ +2009-07-09 Steven G. Kargl <kargl@gcc.gnu.org> + + * gfortran.dg/c_kind_tests_2.f03: clean-up leftover module(s). + * gfortran.dg/module_equivalence_6.f90: Ditto. + * gfortran.dg/alloc_comp_auto_array_2.f90: Ditto. + * gfortran.dg/nan_2.f90: Ditto. + * gfortran.dg/inquire_11.f90: Ditto. + * gfortran.dg/abstract_type_3.f03: Ditto. + * gfortran.dg/abstract_type_1.f90: Ditto. + * gfortran.dg/private_type_9.f90: Ditto. + * gfortran.dg/abstract_type_5.f03: Ditto. + * gfortran.dg/elemental_subroutine_6.f90: Ditto. + * gfortran.dg/derived_comp_array_ref_3.f90: Ditto. + * gfortran.dg/derived_sub.f90: Ditto. + * gfortran.dg/missing_optional_dummy_5.f90: Ditto. + * gfortran.dg/bounds_check_fail_2.f90: Ditto. + * gfortran.dg/maxloc_bounds_6.f90: Ditto. + * gfortran.dg/mvbits_6.f90: Ditto. + * gfortran.dg/abstract_type_2.f03: Ditto. + * gfortran.dg/abstract_type_4.f03: Ditto. + * gfortran.dg/bounds_check_9.f90: Ditto. + * gfortran.dg/optional_dim_3.f90: Ditto. + * gfortran.dg/pr32921.f: Ditto. + * gfortran.dg/entry_16.f90: Ditto. + * gfortran.dg/generic_16.f90: Ditto. + + 2009-07-09 Maxim Kuvyrkov <maxim@codesourcery.com> * gcc.target/m68k/20090709-1.c: New. diff --git a/gcc/testsuite/gfortran.dg/abstract_type_1.f90 b/gcc/testsuite/gfortran.dg/abstract_type_1.f90 index b6baa3a..7a91e11 100644 --- a/gcc/testsuite/gfortran.dg/abstract_type_1.f90 +++ b/gcc/testsuite/gfortran.dg/abstract_type_1.f90 @@ -11,3 +11,4 @@ MODULE m END TYPE t ! { dg-error "END MODULE" } END MODULE m +! { dg-final { cleanup-modules "m" } } diff --git a/gcc/testsuite/gfortran.dg/abstract_type_2.f03 b/gcc/testsuite/gfortran.dg/abstract_type_2.f03 index 6dcfe14..9b4ddeb 100644 --- a/gcc/testsuite/gfortran.dg/abstract_type_2.f03 +++ b/gcc/testsuite/gfortran.dg/abstract_type_2.f03 @@ -11,3 +11,4 @@ MODULE m END TYPE error_t ! { dg-error "END MODULE" } END MODULE m +! { dg-final { cleanup-modules "m" } } diff --git a/gcc/testsuite/gfortran.dg/abstract_type_3.f03 b/gcc/testsuite/gfortran.dg/abstract_type_3.f03 index abeeec9..a6f0623 100644 --- a/gcc/testsuite/gfortran.dg/abstract_type_3.f03 +++ b/gcc/testsuite/gfortran.dg/abstract_type_3.f03 @@ -49,3 +49,4 @@ CONTAINS END SUBROUTINE impl END MODULE m +! { dg-final { cleanup-modules "m" } } diff --git a/gcc/testsuite/gfortran.dg/abstract_type_4.f03 b/gcc/testsuite/gfortran.dg/abstract_type_4.f03 index 89fd3b0..bc34d4e 100644 --- a/gcc/testsuite/gfortran.dg/abstract_type_4.f03 +++ b/gcc/testsuite/gfortran.dg/abstract_type_4.f03 @@ -26,3 +26,4 @@ PROGRAM main ! See if constructing the extending type works. conc = concrete_t (1, 2) END PROGRAM main +! { dg-final { cleanup-modules "m" } } diff --git a/gcc/testsuite/gfortran.dg/abstract_type_5.f03 b/gcc/testsuite/gfortran.dg/abstract_type_5.f03 index a0060f8..7da38e8 100644 --- a/gcc/testsuite/gfortran.dg/abstract_type_5.f03 +++ b/gcc/testsuite/gfortran.dg/abstract_type_5.f03 @@ -43,3 +43,4 @@ CONTAINS END SUBROUTINE test END MODULE m +! { dg-final { cleanup-modules "m" } } diff --git a/gcc/testsuite/gfortran.dg/alloc_comp_auto_array_2.f90 b/gcc/testsuite/gfortran.dg/alloc_comp_auto_array_2.f90 index c4c4ae2..c8945cf 100644 --- a/gcc/testsuite/gfortran.dg/alloc_comp_auto_array_2.f90 +++ b/gcc/testsuite/gfortran.dg/alloc_comp_auto_array_2.f90 @@ -38,3 +38,4 @@ end module grid_io call read_grid_header end ! { dg-final { cleanup-tree-dump "grid_io" } } +! { dg-final { cleanup-modules "grid_io" } } diff --git a/gcc/testsuite/gfortran.dg/bounds_check_9.f90 b/gcc/testsuite/gfortran.dg/bounds_check_9.f90 index c0abd28..3b487ef 100644 --- a/gcc/testsuite/gfortran.dg/bounds_check_9.f90 +++ b/gcc/testsuite/gfortran.dg/bounds_check_9.f90 @@ -34,3 +34,4 @@ program main call sub() call sub((/4,5/)) end program main +! { dg-final { cleanup-modules "sub_mod" } } diff --git a/gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90 b/gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90 index bb2c247..d79272b 100644 --- a/gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90 +++ b/gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90 @@ -37,3 +37,4 @@ program main call sub((/4/)) end program main ! { dg-output "Fortran runtime error: Array bound mismatch" } +! { dg-final { cleanup-modules "sub_mod" } } diff --git a/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03 b/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03 index aaaee97..a8cdbdf 100644 --- a/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03 +++ b/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03 @@ -12,3 +12,4 @@ module c_kind_tests_2 real(myI), bind(c) :: myCFloat2 ! { dg-warning "is for type INTEGER" } real(4), bind(c) :: myFloat ! { dg-warning "may not be a C interoperable" } end module c_kind_tests_2 +! { dg-final { cleanup-modules "c_kind_tests_2" } } diff --git a/gcc/testsuite/gfortran.dg/derived_comp_array_ref_3.f90 b/gcc/testsuite/gfortran.dg/derived_comp_array_ref_3.f90 index 53d73e7..7a0b77e 100644 --- a/gcc/testsuite/gfortran.dg/derived_comp_array_ref_3.f90 +++ b/gcc/testsuite/gfortran.dg/derived_comp_array_ref_3.f90 @@ -26,4 +26,4 @@ END MODULE cdf_nc_chisq_mod use cdf_nc_chisq_mod call local_cum_nc_chisq end -! { dg-final { cleanup-modules "cdf_aux_mod cdf_beta_mod" } } +! { dg-final { cleanup-modules "cdf_nc_chisq_mod" } } diff --git a/gcc/testsuite/gfortran.dg/derived_sub.f90 b/gcc/testsuite/gfortran.dg/derived_sub.f90 index 1750ada..9b66245 100644 --- a/gcc/testsuite/gfortran.dg/derived_sub.f90 +++ b/gcc/testsuite/gfortran.dg/derived_sub.f90 @@ -31,3 +31,4 @@ contains end subroutine end module +! { dg-final { cleanup-modules "modone modtwo" } } diff --git a/gcc/testsuite/gfortran.dg/elemental_subroutine_6.f90 b/gcc/testsuite/gfortran.dg/elemental_subroutine_6.f90 index aab33f3..44577c8 100644 --- a/gcc/testsuite/gfortran.dg/elemental_subroutine_6.f90 +++ b/gcc/testsuite/gfortran.dg/elemental_subroutine_6.f90 @@ -21,4 +21,5 @@ CONTAINS ALLOCATE( out(1:42, 1:42) ) out(1, 1:42) = in(1, 1:42) END SUBROUTINE -END MODULE foo
\ No newline at end of file +END MODULE foo +! { dg-final { cleanup-modules "foo" } } diff --git a/gcc/testsuite/gfortran.dg/entry_16.f90 b/gcc/testsuite/gfortran.dg/entry_16.f90 index ba8eff8..384d99f 100644 --- a/gcc/testsuite/gfortran.dg/entry_16.f90 +++ b/gcc/testsuite/gfortran.dg/entry_16.f90 @@ -41,3 +41,4 @@ END MODULE complex if (.not.((a + b) .eq. (b + a))) call abort () if (.not.((a + b) .eq. cx (4, 2))) call abort () end +! { dg-final { cleanup-modules "complex" } } diff --git a/gcc/testsuite/gfortran.dg/generic_16.f90 b/gcc/testsuite/gfortran.dg/generic_16.f90 index cb6e34d..501e146 100644 --- a/gcc/testsuite/gfortran.dg/generic_16.f90 +++ b/gcc/testsuite/gfortran.dg/generic_16.f90 @@ -32,3 +32,4 @@ PROGRAM main REAL(kind=dp) :: rawData(2), data, work(3) data = median(rawData, work) ! { dg-error "no specific function" } END PROGRAM main +! { dg-final { cleanup-modules "auxiliary" } } diff --git a/gcc/testsuite/gfortran.dg/inquire_11.f90 b/gcc/testsuite/gfortran.dg/inquire_11.f90 index f410766..cc5e26d 100644 --- a/gcc/testsuite/gfortran.dg/inquire_11.f90 +++ b/gcc/testsuite/gfortran.dg/inquire_11.f90 @@ -8,3 +8,4 @@ CONTAINS INQUIRE (UNIT=1, EXIST=qexist) END SUBROUTINE i END MODULE print_it +! { dg-final { cleanup-modules "print_it" } } diff --git a/gcc/testsuite/gfortran.dg/maxloc_bounds_6.f90 b/gcc/testsuite/gfortran.dg/maxloc_bounds_6.f90 index 74a78ff..3a63418 100644 --- a/gcc/testsuite/gfortran.dg/maxloc_bounds_6.f90 +++ b/gcc/testsuite/gfortran.dg/maxloc_bounds_6.f90 @@ -13,4 +13,3 @@ program main write(line,fmt='(80I1)') res end program main ! { dg-output "Fortran runtime error: Incorrect extent in MASK argument of MAXLOC intrinsic in dimension 2: is 3, should be 2" } -! { dg-final { cleanup-modules "tst" } } diff --git a/gcc/testsuite/gfortran.dg/missing_optional_dummy_5.f90 b/gcc/testsuite/gfortran.dg/missing_optional_dummy_5.f90 index 9b36313..4ad399e 100644 --- a/gcc/testsuite/gfortran.dg/missing_optional_dummy_5.f90 +++ b/gcc/testsuite/gfortran.dg/missing_optional_dummy_5.f90 @@ -25,5 +25,5 @@ end module krmod ! { dg-final { scan-tree-dump " tm_doit \\(&parm.\(6|7\), 0B, 0\\);" "original" } } ! { dg-final { cleanup-tree-dump "original" } } -! { dg-final { cleanup-modules "pr22146" } } +! { dg-final { cleanup-modules "krmod" } } diff --git a/gcc/testsuite/gfortran.dg/module_equivalence_6.f90 b/gcc/testsuite/gfortran.dg/module_equivalence_6.f90 index 8c8049e..c33a2ca 100644 --- a/gcc/testsuite/gfortran.dg/module_equivalence_6.f90 +++ b/gcc/testsuite/gfortran.dg/module_equivalence_6.f90 @@ -19,4 +19,4 @@ PROGRAM fortranlibtest INTEGER :: ii ii = H5P_DEFAULT_F END PROGRAM fortranlibtest -! { dg-final { cleanup-modules "H5GLOBAL HD5" } } +! { dg-final { cleanup-modules "H5GLOBAL HDF5" } } diff --git a/gcc/testsuite/gfortran.dg/mvbits_6.f90 b/gcc/testsuite/gfortran.dg/mvbits_6.f90 index c8986df..56ceacc 100644 --- a/gcc/testsuite/gfortran.dg/mvbits_6.f90 +++ b/gcc/testsuite/gfortran.dg/mvbits_6.f90 @@ -31,3 +31,4 @@ call yg0009(tda2l,4,3,1,-1,-4,-3) end +! { dg-final { cleanup-modules "yg0009_stuff" } } diff --git a/gcc/testsuite/gfortran.dg/nan_2.f90 b/gcc/testsuite/gfortran.dg/nan_2.f90 index c26eebc..5882fa0 100644 --- a/gcc/testsuite/gfortran.dg/nan_2.f90 +++ b/gcc/testsuite/gfortran.dg/nan_2.f90 @@ -105,3 +105,4 @@ program test if (isinf(max(-large, -inf, nan))) call abort end program test +! { dg-final { cleanup-modules "aux2" } } diff --git a/gcc/testsuite/gfortran.dg/optional_dim_3.f90 b/gcc/testsuite/gfortran.dg/optional_dim_3.f90 index fc66ba5..45099a3 100644 --- a/gcc/testsuite/gfortran.dg/optional_dim_3.f90 +++ b/gcc/testsuite/gfortran.dg/optional_dim_3.f90 @@ -50,3 +50,4 @@ program main call sub(bound=.false., dimmy=1_8) call sub() end program main +! { dg-final { cleanup-modules "tst_foo" } } diff --git a/gcc/testsuite/gfortran.dg/pr32921.f b/gcc/testsuite/gfortran.dg/pr32921.f index c166dd7..42bb986 100644 --- a/gcc/testsuite/gfortran.dg/pr32921.f +++ b/gcc/testsuite/gfortran.dg/pr32921.f @@ -47,3 +47,4 @@ END ! { dg-final { scan-tree-dump-times "stride" 4 "lim" } } ! { dg-final { cleanup-tree-dump "lim" } } +! { dg-final { cleanup-modules "LES3D_DATA" } } diff --git a/gcc/testsuite/gfortran.dg/private_type_9.f90 b/gcc/testsuite/gfortran.dg/private_type_9.f90 index 078041a..3ca2fd5 100644 --- a/gcc/testsuite/gfortran.dg/private_type_9.f90 +++ b/gcc/testsuite/gfortran.dg/private_type_9.f90 @@ -39,3 +39,4 @@ module m4 end module m4 end +! { dg-final { cleanup-modules "m1 m2 m3 m4" } } |