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)
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

index e9b2ed30682ef21baeb23f9ffc0a3b900b4aafdc..5e4bc6b90589d9415c5e352f3756a9ca9b3ec23f 100644 (file)
@@ -1,9 +1,14 @@
 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.
+       * 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.
 
 2008-08-04  Steven G. Kargl  <kargl@gcc.gnu.org>