diff options
author | Tobias Burnus <burnus@net-b.de> | 2011-11-19 10:26:33 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2011-11-19 10:26:33 +0100 |
commit | cf651ca2e559c5f56f23764f1c90108c52015ea0 (patch) | |
tree | 03ad52bf6cb39e5e03380e6202c1d82ec366d4bb /gcc/coverage.c | |
parent | ea5cbe6161d115541b7b1dee24d6f07b269cb1bb (diff) | |
download | gcc-cf651ca2e559c5f56f23764f1c90108c52015ea0.zip gcc-cf651ca2e559c5f56f23764f1c90108c52015ea0.tar.gz gcc-cf651ca2e559c5f56f23764f1c90108c52015ea0.tar.bz2 |
re PR fortran/51207 ([OOP] Mark __def_init_... as FL_PARAMETER)
2011-11-19 Tobias Burnus <burnus@net-b.de>
PR fortran/51207
* class.c (gfc_find_derived_vtab): Mark __def_init as PARAMETER
and hence as TREE_READONLY; add subroutine attribute to
__copy_ procedure.
PR fortran/50640
* trans.h (GFC_DECL_PUSH_TOPLEVEL): New DECL_LANG_FLAG_7.
* trans-decl.c (gfc_get_symbol_decl): Mark __def_init and vtab
as GFC_DECL_PUSH_TOPLEVEL.
(gfc_generate_function_code): If GFC_DECL_PUSH_TOPLEVEL, push it there.
(build_function_decl): Push __copy_ procedure to the toplevel.
From-SVN: r181505
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions