OSDN Git Service

2008-11-01 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Nov 2008 13:24:03 +0000 (13:24 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Nov 2008 13:24:03 +0000 (13:24 +0000)
commitecb6b17c8a18efbf7cea9b71f10391ac77707b5f
tree3bdd5ff69b6c21e149a0a9da51fcbf7311b75671
parent39761420af933f54919835afd7acdc46c2588984
2008-11-01  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36322
PR fortran/36463
* gfortran.h: New function gfc_expr_replace_symbols.
* decl.c (match_procedure_decl): Increase reference count for interface.
* expr.c: New functions replace_symbol and gfc_expr_replace_symbols.
* resolve.c (resolve_symbol): Correctly copy array spec and char len
of PROCEDURE declarations from their interface.
* symbol.c (gfc_get_default_type): Enhanced error message.
(copy_formal_args): Call copy_formal_args recursively for arguments.
* trans-expr.c (gfc_conv_function_call): Bugfix.

2008-11-01  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36322
PR fortran/36463
* gfortran.dg/proc_decl_17.f90: New.
* gfortran.dg/proc_decl_18.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141515 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_decl_17.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/proc_decl_18.f90 [new file with mode: 0644]