From bc9d9552fd2fefe318c1e349fd91091d86c69075 Mon Sep 17 00:00:00 2001 From: Jerry DeLisle Date: Fri, 11 Jan 2008 21:15:41 +0000 Subject: re PR fortran/34722 (ICE: left-over "@iostat" variable polutes namespace) 2008-01-11 Jerry DeLisle PR fortran/34722 * trans-io.c (create_dummy_iostat): Commit the symbol. From-SVN: r131475 --- gcc/fortran/trans-io.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/fortran/trans-io.c') diff --git a/gcc/fortran/trans-io.c b/gcc/fortran/trans-io.c index 6c43849..70a4b37 100644 --- a/gcc/fortran/trans-io.c +++ b/gcc/fortran/trans-io.c @@ -1095,6 +1095,7 @@ create_dummy_iostat (void) st->n.sym->ts.type = BT_INTEGER; st->n.sym->ts.kind = gfc_default_integer_kind; gfc_set_sym_referenced (st->n.sym); + gfc_commit_symbol (st->n.sym); st->n.sym->backend_decl = gfc_create_var (gfc_get_int_type (st->n.sym->ts.kind), st->n.sym->name); -- cgit v1.1