summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/implicit_actual.f90
Commit message (Collapse)AuthorAgeFilesLines
* Remove now redundant manual cleanup-modules directive.aldot2012-05-151-2/+0
| | | | | | | | | | | 2012-05-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * gfortran.dg/*.f90: Remove now redundant manual cleanup-modules directive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187521 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-13 Tobias Burnus <burnus@net-b.de>burnus2008-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/34665 * resolve.c (resolve_actual_arglist): For expressions, also check for assume-sized arrays. * interface.c (compare_parameter): Move F2003 character checks here, print error messages here, reject elements of assumed-shape array as argument to dummy arrays. (compare_actual_formal): Update for the changes above. 2008-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/34665 * gfortran.dg/argument_checking_11.f90: New. * gfortran.dg/argument_checking_12.f90: New. * gfortran.dg/used_dummy_types_4.f90: Update dg-error. * gfortran.dg/c_assoc_2.f03: Update dg-error. * gfortran.dg/argument_checking_3.f90: Ditto. * gfortran.dg/pointer_intent_2.f90: Ditto. * gfortran.dg/import2.f90: Ditto. * gfortran.dg/assumed_shape_ranks_1.f90: Ditto. * gfortran.dg/implicit_actual.f90: Ditto. * gfortran.dg/used_dummy_types_3.f90: Ditto. * gfortran.dg/derived_comp_array_ref_6.f90: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131513 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-10-13 Paul Thomas <pault@gcc.gnu.org>pault2006-10-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/29373 * decl.c (get_proc_name, gfc_match_function_decl): Add attr.implicit_type to conditions that throw error for existing explicit interface and that allow new type- spec to be applied. PR fortran/29407 * resolve.c (resolve_fl_namelist): Do not check for namelist/procedure conflict, if the symbol corresponds to a good local variable declaration. PR fortran/27701 * decl.c (get_proc_name): Replace the detection of a declared procedure by the presence of a formal argument list by the attributes of the symbol and the presence of an explicit interface. PR fortran/29232 * resolve.c (resolve_fl_variable): See if the host association of a derived type is blocked by the presence of another type I object in the current namespace. PR fortran/29364 * resolve.c (resolve_fl_derived): Check for the presence of the derived type for a derived type component. PR fortran/24398 * module.c (gfc_use_module): Check that the first words in a module file are 'GFORTRAN module'. PR fortran/29422 * resolve.c (resolve_transfer): Test functions for suitability for IO, as well as variables. PR fortran/29428 * trans-expr.c (gfc_trans_scalar_assign): Remove nullify of rhs expression. 2006-10-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/29373 * gfortran.dg/implicit_9.f90: New test. PR fortran/29407 * gfortran.dg/namelist_25.f90: New test. PR fortran/27701 * gfortran.dg/same_name_2.f90: New test. PR fortran/29232 * gfortran.dg/host_assoc_types_1.f90: New test. PR fortran/29364 * gfortran.dg/missing_derived_type_1.f90: New test. * gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL. PR fortran/29422 * gfortran.dg/alloc_comp_constraint_4.f90: New test. PR fortran/29428 * gfortran.dg/alloc_comp_assign_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117692 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gcc-dg.exp (cleanup-modules): New proc.janis2006-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gfortran.dg/allocatable_function_1.f90, gfortran.dg/allocate_char_star_scalar_1.f90, gfortran.dg/assumed_charlen_function_1.f90, gfortran.dg/assumed_dummy_1.f90, gfortran.dg/assumed_shape_ranks_1.f90, gfortran.dg/assumed_shape_ranks_2.f90, gfortran.dg/assumed_size_dt_dummy.f90, gfortran.dg/auto_char_dummy_array_1.f90, gfortran.dg/auto_char_len_3.f90, gfortran.dg/automatic_module_variable.f90, gfortran.dg/bad_automatic_objects_1.f90, gfortran.dg/char_array_constructor.f90, gfortran.dg/char_array_structure_constructor.f90, gfortran.dg/char_result_11.f90, gfortran.dg/char_result_9.f90, gfortran.dg/contained_1.f90, gfortran.dg/convert_1.f90, gfortran.dg/cray_pointers_5.f90, gfortran.dg/data_constraints_1.f90, gfortran.dg/default_initialization.f90, gfortran.dg/der_charlen_1.f90, gfortran.dg/der_io_2.f90, gfortran.dg/der_io_3.f90, gfortran.dg/derived_pointer_recursion.f90, gfortran.dg/derived_recursion.f90, gfortran.dg/der_pointer_1.f90, gfortran.dg/der_pointer_3.f90, gfortran.dg/der_pointer_4.f90, gfortran.dg/dummy_functions_1.f90, gfortran.dg/elemental_initializer_1.f90, gfortran.dg/elemental_non_intrinsic_dummy_1.f90, gfortran.dg/elemental_pointer_1.f90, gfortran.dg/elemental_subroutine_1.f90, gfortran.dg/elemental_subroutine_2.f90, gfortran.dg/entry_1.f90, gfortran.dg/entry_3.f90, gfortran.dg/enum_10.f90, gfortran.dg/equiv_constraint_3.f90, gfortran.dg/func_derived_1.f90, gfortran.dg/func_derived_2.f90, gfortran.dg/func_derived_3.f90, gfortran.dg/generic_1.f90, gfortran.dg/generic_2.f90, gfortran.dg/generic_3.f90, gfortran.dg/generic_4.f90, gfortran.dg/global_references_1.f90, gfortran.dg/host_used_types_1.f90, gfortran.dg/implicit_1.f90, gfortran.dg/implicit_2.f90, gfortran.dg/implicit_actual.f90, gfortran.dg/initialization_1.f90, gfortran.dg/int_1.f90, gfortran.dg/intent_used_1.f90, gfortran.dg/interface_1.f90, gfortran.dg/interface_2.f90, gfortran.dg/internal_references_2.f90, gfortran.dg/io_constraints_1.f90, gfortran.dg/io_constraints_2.f90, gfortran.dg/large_integer_kind_1.f90, gfortran.dg/large_real_kind_1.f90, gfortran.dg/module_blank_common.f90, gfortran.dg/module_commons_1.f90, gfortran.dg/module_double_reuse.f90, gfortran.dg/module_equivalence_1.f90, gfortran.dg/module_interface_1.f90, gfortran.dg/module_parameter_array_refs_1.f90, gfortran.dg/named_interface.f90, gfortran.dg/namelist_14.f90, gfortran.dg/namelist_15.f90, gfortran.dg/namelist_1.f90, gfortran.dg/namelist_4.f90, gfortran.dg/namelist_use.f90, gfortran.dg/namelist_use_only.f90, gfortran.dg/nested_modules_1.f90, gfortran.dg/nested_modules_2.f90, gfortran.dg/nested_modules_3.f90, gfortran.dg/nested_modules_4.f90, gfortran.dg/nested_modules_5.f90, gfortran.dg/parens_5.f90, gfortran.dg/parent_result_ref_4.f90, gfortran.dg/pr15164.f90, gfortran.dg/pr16861.f90, gfortran.dg/pr17615.f90, gfortran.dg/pr19926.f90, gfortran.dg/pr21177.f90, gfortran.dg/pr26246_1.f90, gfortran.dg/private_type_1.f90, gfortran.dg/private_type_2.f90, gfortran.dg/private_type_3.f90, gfortran.dg/private_type_4.f90, gfortran.dg/procedure_lvalue.f90, gfortran.dg/pure_byref_3.f90, gfortran.dg/same_name_1.f90, gfortran.dg/sibling_dummy_procedure_1.f90, gfortran.dg/sibling_dummy_procedure_2.f90, gfortran.dg/sibling_dummy_procedure_3.f90, gfortran.dg/substr_1.f90, gfortran.dg/substring_equivalence.f90, gfortran.dg/use_allocated_1.f90, gfortran.dg/used_dummy_types_1.f90, gfortran.dg/used_dummy_types_2.f90, gfortran.dg/used_dummy_types_3.f90, gfortran.dg/used_dummy_types_4.f90, gfortran.dg/used_dummy_types_5.f90, gfortran.dg/used_interface_ref.f90, gfortran.dg/used_types_1.f90, gfortran.dg/userdef_operator_1.f90: Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112264 138bc75d-0d04-0410-961f-82ee72b054a4
* Reset svn:executable property for those testcases that had it set.tobi2005-11-061-0/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106568 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-26 Paul Thomas <pault@gcc.gnu.org>pault2005-10-261-0/+34
PR fortran/24158 * decl.c (gfc_match_data_decl): Correct broken bit of code that prevents undefined derived types from being used as components of another derived type. * resolve.c (resolve_symbol): Add backstop error when derived type variables arrive here with a type that has no components. 2005-10-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/24158 gfortran.dg/derived_recursion.f90: New test. gfortran.dg/implicit_actual.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105913 138bc75d-0d04-0410-961f-82ee72b054a4