diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-08-04 20:46:11 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-08-04 20:46:11 +0000 |
commit | aa84a9a5e414aad8acbbdf4efae1f951bc9a1de7 (patch) | |
tree | df679370a76da565ff23a0cbbdd8f61a1c342b7f /gcc/fortran/dump-parse-tree.c | |
parent | 6b44ad312f943d9ae65ad6db8f4be0640eefec6e (diff) | |
download | gcc-aa84a9a5e414aad8acbbdf4efae1f951bc9a1de7.zip gcc-aa84a9a5e414aad8acbbdf4efae1f951bc9a1de7.tar.gz gcc-aa84a9a5e414aad8acbbdf4efae1f951bc9a1de7.tar.bz2 |
re PR fortran/31214 (User-defined operator using entry leads to ICE)
2007-08-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31214
* symbol.c (get_unique_symtree): Moved from module.c.
* module.c (get_unique_symtree): Moved to symbol.c.
* decl.c (get_proc_name): Transfer the typespec from the local
symbol to the module symbol, in the case that an entry is also
a module procedure. Ensure the local symbol is cleaned up by
pointing to it with a unique symtree.
* dump_parse_tree (gfc_show_code_node): Add EXEC_ASSIGN_CALL.
2007-08-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31214
* gfortran.dg/entry_13.f90: New test.
* gfortran.dg/entry_12.f90: Clean up .mod file.
From-SVN: r127213
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r-- | gcc/fortran/dump-parse-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c index c99fc42..ac6a6f5 100644 --- a/gcc/fortran/dump-parse-tree.c +++ b/gcc/fortran/dump-parse-tree.c @@ -1084,6 +1084,7 @@ gfc_show_code_node (int level, gfc_code *c) break; case EXEC_CALL: + case EXEC_ASSIGN_CALL: if (c->resolved_sym) gfc_status ("CALL %s ", c->resolved_sym->name); else if (c->symtree) |