Commit e863e4de by Mikael Morin Committed by Mikael Morin

dependency_26.f90: Add a module to the cleanup directive.

2011-08-04  Mikael Morin  <mikael.morin@sfr.fr>

	* gfortran.dg/dependency_26.f90: Add a module to the cleanup directive.
	* gfortran.dg/trim_optimize_2.f90: Add a module cleanup directive.
	* gfortran.dg/ldist-pr43023.f90: Ditto.
	* gfortran.dg/namelist_52.f90: Ditto.
	* gfortran.dg/interface_proc_end.f90: Ditto.
	* gfortran.dg/vector_subscript_bound_1.f90: Ditto.
	* gfortran.dg/generic_typebound_operator_1.f90: Ditto.

From-SVN: r177415
parent bdc05efb
2011-08-04 Mikael Morin <mikael.morin@sfr.fr>
* gfortran.dg/dependency_26.f90: Add a module to the cleanup directive.
* gfortran.dg/trim_optimize_2.f90: Add a module cleanup directive.
* gfortran.dg/ldist-pr43023.f90: Ditto.
* gfortran.dg/namelist_52.f90: Ditto.
* gfortran.dg/interface_proc_end.f90: Ditto.
* gfortran.dg/vector_subscript_bound_1.f90: Ditto.
* gfortran.dg/generic_typebound_operator_1.f90: Ditto.
2011-08-04 Ira Rosen <ira.rosen@linaro.org> 2011-08-04 Ira Rosen <ira.rosen@linaro.org>
* gcc.dg/vect/vect-over-widen-1.c: New test. * gcc.dg/vect/vect-over-widen-1.c: New test.
......
...@@ -47,7 +47,7 @@ END MODULE M1 ...@@ -47,7 +47,7 @@ END MODULE M1
cell%h = reshape ([(real(i), i = 1, 9)], [3, 3]) cell%h = reshape ([(real(i), i = 1, 9)], [3, 3])
call s1 (cell) call s1 (cell)
end end
! { dg-final { cleanup-modules "m1" } } ! { dg-final { cleanup-modules "m1 m2" } }
! { dg-final { scan-tree-dump-times "&a" 1 "original" } } ! { dg-final { scan-tree-dump-times "&a" 1 "original" } }
! { dg-final { scan-tree-dump-times "pack" 0 "original" } } ! { dg-final { scan-tree-dump-times "pack" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } } ! { dg-final { cleanup-tree-dump "original" } }
...@@ -17,3 +17,5 @@ module m_sort ...@@ -17,3 +17,5 @@ module m_sort
end function gt_cmp end function gt_cmp
end interface end interface
end module m_sort end module m_sort
! { dg-final { cleanup-modules "m_sort" } }
...@@ -16,3 +16,5 @@ ...@@ -16,3 +16,5 @@
END INTERFACE END INTERFACE
end subroutine end subroutine
end module end module
! { dg-final { cleanup-modules "n" } }
...@@ -29,3 +29,5 @@ end do ...@@ -29,3 +29,5 @@ end do
END SUBROUTINE NFT_Init END SUBROUTINE NFT_Init
END MODULE NFT_mod END MODULE NFT_mod
! { dg-final { cleanup-modules "nft_mod" } }
...@@ -30,3 +30,5 @@ read(31,nml=info_adjoint) ...@@ -30,3 +30,5 @@ read(31,nml=info_adjoint)
if (adjoint%solver_type /= 'direct') call abort if (adjoint%solver_type /= 'direct') call abort
if (adjoint%screen_io_fs_ntime%begin /= 42) call abort if (adjoint%screen_io_fs_ntime%begin /= 42) call abort
end program gfortran_error_2 end program gfortran_error_2
! { dg-final { cleanup-modules "mod1" } }
...@@ -35,3 +35,4 @@ end program main ...@@ -35,3 +35,4 @@ end program main
! { dg-final { scan-tree-dump-times "memmove" 4 "original" } } ! { dg-final { scan-tree-dump-times "memmove" 4 "original" } }
! { dg-final { scan-tree-dump-times "string_trim" 0 "original" } } ! { dg-final { scan-tree-dump-times "string_trim" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } } ! { dg-final { cleanup-tree-dump "original" } }
! { dg-final { cleanup-modules "faz" } }
...@@ -17,3 +17,5 @@ CONTAINS ...@@ -17,3 +17,5 @@ CONTAINS
PRINT *, pw%cr(UBOUND(pw%cr)) PRINT *, pw%cr(UBOUND(pw%cr))
END SUBROUTINE pw_write END SUBROUTINE pw_write
END MODULE END MODULE
! { dg-final { cleanup-modules "pw_types" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment