OSDN Git Service

2008-08-08 Daniel Kraft <d@domob.eu>
authordomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 18:19:46 +0000 (18:19 +0000)
committerdomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 18:19:46 +0000 (18:19 +0000)
commite449e4dd6cf69248bc463a85285b63f739e8deee
tree678252b637e4e677cc46910a5305aa008a9af981
parentf257af647d2a3072d42969f7a4f10933d8a5c018
2008-08-08  Daniel Kraft  <d@domob.eu>

* gfortran.h (gfc_finalizer):  Replaced member `procedure' by two
new members `proc_sym' and `proc_tree' to store the symtree after
resolution.
(gfc_find_sym_in_symtree):  Made public.
* decl.c (gfc_match_final_decl):  Adapted for new member name.
* interface.c (gfc_find_sym_in_symtree):  Made public.
(gfc_extend_expr), (gfc_extend_assign):  Changed call accordingly.
* module.c (mio_finalizer), (mio_f2k_derived), (mio_full_f2k_derived):
New methods for module-file IO of f2k_derived.
(mio_symbol):  Do IO of f2k_derived namespace.
* resolve.c (gfc_resolve_finalizers):  Adapted for new member name and
finding the symtree for the symbol here.
* symbol.c (gfc_free_finalizer):  Adapted for new members.

2008-08-08  Daniel Kraft  <d@domob.eu>

* gfortran.dg/finalize_9.f03:  New test.
* gfortran.dg/module_md5_1.f90:  Adapted MD5-sum for changed module
file format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138884 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/finalize_9.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/module_md5_1.f90