re PR fortran/31214 (User-defined operator using entry leads to ICE)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Aug 2007 20:58:11 +0000 (20:58 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Aug 2007 20:58:11 +0000 (20:58 +0000)
commitcbef3aa2f67797b2f4a54b10c2e5ba23f216dd6f
tree7b63273d7d18e2f285ddd5fd9125796dc80bcf82
parentaa84a9a5e414aad8acbbdf4efae1f951bc9a1de7
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: r127214
gcc/fortran/ChangeLog