* gfortran.dg/kind_tests_2.f03: Add cleanup-modules.
* gfortran.dg/kind_tests_3.f03: Ditto.
* gfortran.dg/global_vars_f90_init.f90: Ditto.
* gfortran.dg/interface_13.f90: Ditto.
* gfortran.dg/pr32738.f90: Ditto.
* gfortran.dg/module_private_1.f90: Ditto.
* gfortran.dg/test_only_clause.f90: Ditto.
* gfortran.dg/bind_c_vars.f90: Ditto.
* gfortran.dg/bind_c_dts.f90: Ditto.
* gfortran.dg/use_9.f90: Ditto.
* gfortran.dg/generic_8.f90: Ditto.
* gfortran.dg/bind_c_implicit_vars.f03: Ditto.
* gfortran.dg/private_type_6.f90: Ditto.
* gfortran.dg/c_assoc.f90: Ditto.
* gfortran.dg/private_type_7.f90: Ditto.
* gfortran.dg/global_vars_c_init.f90: Ditto.
* gfortran.dg/bind_c_dts_2.f03: Ditto.
* gfortran.dg/c_f_pointer_tests.f90: Ditto.
* gfortran.dg/c_size_t_test.f03: Ditto.
* gfortran.dg/used_types_12.f90: Ditto.
* gfortran.dg/pr25923.f90: Ditto.
* gfortran.dg/test_com_block.f90: Ditto.
* gfortran.dg/iso_c_binding_rename_1.f03: Ditto.
* gfortran.dg/equiv_constraint_7.f90: Ditto.
* gfortran.dg/com_block_driver.f90: Ditto.
* gfortran.dg/iso_c_binding_rename_2.f03: Ditto.
* gfortran.dg/use_iso_c_binding.f90: Ditto.
* gfortran.dg/c_loc_test.f90: Ditto.
* gfortran.dg/c_ptr_tests.f03: Ditto.
* gfortran.dg/module_interface_1.f90: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127582
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-08-17 Tobias Burnus <burnus@net-b.de>
+
+ * gfortran.dg/kind_tests_2.f03: Add cleanup-modules.
+ * gfortran.dg/kind_tests_3.f03: Ditto.
+ * gfortran.dg/global_vars_f90_init.f90: Ditto.
+ * gfortran.dg/interface_13.f90: Ditto.
+ * gfortran.dg/pr32738.f90: Ditto.
+ * gfortran.dg/module_private_1.f90: Ditto.
+ * gfortran.dg/test_only_clause.f90: Ditto.
+ * gfortran.dg/bind_c_vars.f90: Ditto.
+ * gfortran.dg/bind_c_dts.f90: Ditto.
+ * gfortran.dg/use_9.f90: Ditto.
+ * gfortran.dg/generic_8.f90: Ditto.
+ * gfortran.dg/bind_c_implicit_vars.f03: Ditto.
+ * gfortran.dg/private_type_6.f90: Ditto.
+ * gfortran.dg/c_assoc.f90: Ditto.
+ * gfortran.dg/private_type_7.f90: Ditto.
+ * gfortran.dg/global_vars_c_init.f90: Ditto.
+ * gfortran.dg/bind_c_dts_2.f03: Ditto.
+ * gfortran.dg/c_f_pointer_tests.f90: Ditto.
+ * gfortran.dg/c_size_t_test.f03: Ditto.
+ * gfortran.dg/used_types_12.f90: Ditto.
+ * gfortran.dg/pr25923.f90: Ditto.
+ * gfortran.dg/test_com_block.f90: Ditto.
+ * gfortran.dg/iso_c_binding_rename_1.f03: Ditto.
+ * gfortran.dg/equiv_constraint_7.f90: Ditto.
+ * gfortran.dg/com_block_driver.f90: Ditto.
+ * gfortran.dg/iso_c_binding_rename_2.f03: Ditto.
+ * gfortran.dg/use_iso_c_binding.f90: Ditto.
+ * gfortran.dg/c_loc_test.f90: Ditto.
+ * gfortran.dg/c_ptr_tests.f03: Ditto.
+ * gfortran.dg/module_interface_1.f90: Ditto.
+
2007-08-17 Paolo Carlini <pcarlini@suse.de>
PR c++/32870
myDerived%s = myDerived%s + 1.0;
end subroutine types_test
end module bind_c_dts
+
+! { dg-final { cleanup-modules "bind_c_dts" } }
end if
end subroutine sub0
end module bind_c_dts_2
+
+! { dg-final { cleanup-modules "bind_c_dts_2" } }
i = 0
end subroutine sub0
end module bind_c_implicit_vars
+
+! { dg-final { cleanup-modules "bind_c_implicit_vars" } }
end subroutine changeF90Globals
end module bind_c_vars
+
+! { dg-final { cleanup-modules "bind_c_vars" } }
end subroutine verify_assoc
end module c_assoc
+
+! { dg-final { cleanup-modules "c_assoc" } }
endif
end subroutine testDerivedPtrs
end module c_f_pointer_tests
+
+! { dg-final { cleanup-modules "c_f_pointer_tests" } }
call test_address(my_c_ptr, 100)
end subroutine test0
end module c_loc_test
-! { dg-final { cleanup-modules "c_loc_test.mod" } }
+! { dg-final { cleanup-modules "c_loc_test" } }
call c_f_pointer(self%myServices, localServices)
end subroutine sub0
end module c_ptr_tests
+
+! { dg-final { cleanup-modules "c_ptr_tests" } }
end if
end subroutine sub0
end module c_size_t_test
+
+! { dg-final { cleanup-modules "c_size_t_test" } }
call testTypes()
end program comBlockDriver
+
+! { dg-final { cleanup-modules "mycommodule comblocktests" } }
EQUIVALENCE(I,J)
END MODULE DATA
END
+! { dg-final { cleanup-modules "data" } }
CALL A(MAXVAL(X),Y)
END SUBROUTINE T
END MODULE M
-! { dg-final { cleanup-modules "M" } }
+! { dg-final { cleanup-modules "m" } }
end subroutine test_globals
end module global_vars_c_init
-
+! { dg-final { cleanup-modules "global_vars_c_init" } }
end subroutine test_globals
end module global_vars_f90_init
-
+! { dg-final { cleanup-modules "global_vars_f90_init" } }
data_i4(1)=0
data_r8(1)=0
end subroutine my_sio_file_read_common
- end module files_module
\ No newline at end of file
+ end module files_module
+
+! { dg-final { cleanup-modules "files_module" } }
end subroutine sub4
end module iso_c_binding_rename_1
+! { dg-final { cleanup-modules "iso_c_binding_rename_0 iso_c_binding_rename_1" } }
end subroutine sub4
end module mod2
+
+! { dg-final { cleanup-modules "mod0 mod1 mod2" } }
integer, parameter :: myFKind = c_float
real(myFKind), bind(c) :: myF
end module kind_tests_2
+
+! { dg-final { cleanup-modules "kind_tests_2" } }
use my_kinds
real(myFKind), bind(c) :: myF
end module my_module
+
+! { dg-final { cleanup-modules "my_kinds my_module" } }
end subroutine Selection_Sort
end program module_interface
-! { dg-final { cleanup-modules "Max_Loc_mod" } }
+! { dg-final { cleanup-modules "max_loc_mod" } }
j = 1
print *, i, j
end program main
+
+! { dg-final { cleanup-modules "bar foo" } }
end function baz
end module foo
+
+! { dg-final { cleanup-modules "foo" } }
implicit none
print *, tree_size(1)
end program example
+
+! { dg-final { cleanup-modules "cluster_definition cluster_tree" } }
foo2 = bartype(1,2) ! { dg-error "has PRIVATE components" }
foo2%dummy2 = 5 ! { dg-error "is a PRIVATE component" }
end program foo_test
-! { dg-final { cleanup-tree-dump "foomod" } }
+! { dg-final { cleanup-modules "foomod" } }
k = foo(i)
print *, "in the main:", k
end program testit
+! { dg-final { cleanup-modules "gfcbug68" } }
call abort()
endif
end program testComBlock
+
+! { dg-final { cleanup-modules "nonf03comblock" } }
endif
end subroutine testOnly
end module testOnlyClause
+
+! { dg-final { cleanup-modules "testonlyclause" } }
use test, only: operator(.func.) ! { dg-error "not found in module 'test'" }
end
+! { dg-final { cleanup-modules "test" } }
use iso_c_binding, only: c_int, c_int
end module use_stmt_7
+! { dg-final { cleanup-modules "use_stmt_2 use_stmt_3 use_stmt_4 use_stmt_5 use_stmt_6 use_stmt_7" } }
TYPE(T1) :: BAZ
BAZ = BAR
END
-! { dg-final { cleanup-modules "M" } }
+! { dg-final { cleanup-modules "m" } }