This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r197922 - in /trunk/gcc: fortran/ChangeLog fort...
- From: janus at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 12 Apr 2013 14:21:39 -0000
- Subject: r197922 - in /trunk/gcc: fortran/ChangeLog fort...
Author: janus
Date: Fri Apr 12 14:21:39 2013
New Revision: 197922
URL: http://gcc.gnu.org/viewcvs?rev=197922&root=gcc&view=rev
Log:
2013-04-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/56261
* gfortran.h (gfc_explicit_interface_required): New prototype.
* expr.c (gfc_check_pointer_assign): Check if an explicit interface is
required in a proc-ptr assignment.
* interface.c (check_result_characteristics): Extra check.
* resolve.c (gfc_explicit_interface_required): New function.
(resolve_global_procedure): Use new function
'gfc_explicit_interface_required'. Do a full interface check.
2013-04-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/56261
* gfortran.dg/auto_char_len_4.f90: Add -pedantic. Changed error.
* gfortran.dg/assumed_rank_4.f90: Modified error wording.
* gfortran.dg/block_11.f90: Fix invalid test case.
* gfortran.dg/function_types_3.f90: Add new error message.
* gfortran.dg/global_references_1.f90: Ditto.
* gfortran.dg/import2.f90: Remove unneeded parts.
* gfortran.dg/import6.f90: Fix invalid test case.
* gfortran.dg/proc_decl_2.f90: Ditto.
* gfortran.dg/proc_decl_9.f90: Ditto.
* gfortran.dg/proc_decl_18.f90: Ditto.
* gfortran.dg/proc_ptr_40.f90: New.
* gfortran.dg/whole_file_7.f90: Modified error wording.
* gfortran.dg/whole_file_16.f90: Ditto.
* gfortran.dg/whole_file_17.f90: Add -pedantic.
* gfortran.dg/whole_file_18.f90: Modified error wording.
* gfortran.dg/whole_file_20.f03: Ditto.
* gfortran.fortran-torture/execute/intrinsic_associated.f90: Fix
invalid test case.
Added:
trunk/gcc/testsuite/gfortran.dg/proc_ptr_40.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/interface.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/assumed_rank_4.f90
trunk/gcc/testsuite/gfortran.dg/auto_char_len_4.f90
trunk/gcc/testsuite/gfortran.dg/block_11.f90
trunk/gcc/testsuite/gfortran.dg/function_types_3.f90
trunk/gcc/testsuite/gfortran.dg/global_references_1.f90
trunk/gcc/testsuite/gfortran.dg/import2.f90
trunk/gcc/testsuite/gfortran.dg/import6.f90
trunk/gcc/testsuite/gfortran.dg/proc_decl_18.f90
trunk/gcc/testsuite/gfortran.dg/proc_decl_2.f90
trunk/gcc/testsuite/gfortran.dg/proc_decl_9.f90
trunk/gcc/testsuite/gfortran.dg/whole_file_16.f90
trunk/gcc/testsuite/gfortran.dg/whole_file_17.f90
trunk/gcc/testsuite/gfortran.dg/whole_file_18.f90
trunk/gcc/testsuite/gfortran.dg/whole_file_20.f03
trunk/gcc/testsuite/gfortran.dg/whole_file_7.f90
trunk/gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_associated.f90