re PR fortran/31214 (User-defined operator using entry leads to ICE)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Aug 2007 20:46:11 +0000 (20:46 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Aug 2007 20:46:11 +0000 (20:46 +0000)
commitaa84a9a5e414aad8acbbdf4efae1f951bc9a1de7
treedf679370a76da565ff23a0cbbdd8f61a1c342b7f
parent6b44ad312f943d9ae65ad6db8f4be0640eefec6e
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
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/dump-parse-tree.c
gcc/fortran/gfortran.h
gcc/fortran/module.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/entry_12.f90
gcc/testsuite/gfortran.dg/entry_13.f90 [new file with mode: 0644]