re PR fortran/48588 (ICE (segfault) in gfc_get_nodesc_array_type)

2011-04-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48588
        PR fortran/48692

        * module.c (fix_mio_expr): Commit created symbol.

From-SVN: r172782
This commit is contained in:
Tobias Burnus 2011-04-20 20:07:52 +02:00 committed by Tobias Burnus
parent c988e08f67
commit 8721a387af
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2011-04-19 Tobias Burnus <burnus@net-b.de>
PR fortran/48588
PR fortran/48692
* module.c (fix_mio_expr): Commit created symbol.
2011-04-19 Janne Blomqvist <jb@gcc.gnu.org>
* scanner.c (load_file): Use XCNEWVAR instead of xcalloc.

View file

@ -3013,6 +3013,7 @@ fix_mio_expr (gfc_expr *e)
sym->attr.flavor = FL_PROCEDURE;
sym->attr.generic = 1;
e->symtree = gfc_find_symtree (gfc_current_ns->sym_root, fname);
gfc_commit_symbol (sym);
}
}