re PR fortran/42418 (PROCEDURE: Rejects interface which is both specific and generic...
commit0e8d854eb8bbfc44c1fd9d2fa6e07514d2932e0e
authorJanus Weil <janus@gcc.gnu.org>
Tue, 31 Jul 2012 18:32:41 +0000 (31 20:32 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 31 Jul 2012 18:32:41 +0000 (31 20:32 +0200)
tree9616650ee31fffec962f6770ab78c4b7b3506558
parentab6d55ef6209019d4268546aa030928b72f59b49
re PR fortran/42418 (PROCEDURE: Rejects interface which is both specific and generic procedure)

2012-07-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42418
* decl.c (match_procedure_interface): Move some checks to
'resolve_procedure_interface'. Set flavor if appropriate.
* expr.c (gfc_check_pointer_assign): Cleanup of 'gfc_is_intrinsic'.
* intrinsic.c (gfc_is_intrinsic): Additional checks for attributes which
identify a procedure as being non-intrinsic.
* resolve.c (resolve_procedure_interface): Checks moved here from
'match_procedure_interface'. Minor cleanup.
(resolve_formal_arglist,resolve_symbol): Cleanup of
'resolve_procedure_interface'
(resolve_actual_arglist,is_external_proc): Cleanup of
'gfc_is_intrinsic'.

2012-07-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42418
* gfortran.dg/proc_decl_29.f90: New.

From-SVN: r190017
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/expr.c
gcc/fortran/intrinsic.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_decl_29.f90 [new file with mode: 0644]