diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-01-11 21:15:41 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-01-11 21:15:41 +0000 |
commit | bc9d9552fd2fefe318c1e349fd91091d86c69075 (patch) | |
tree | 7be4559d1ba26d2d64e60c371c810248149f11e8 /gcc/fortran/trans-io.c | |
parent | 0d40cc60e875e070d2b11e368e9d602e02faccfe (diff) | |
download | gcc-bc9d9552fd2fefe318c1e349fd91091d86c69075.zip gcc-bc9d9552fd2fefe318c1e349fd91091d86c69075.tar.gz gcc-bc9d9552fd2fefe318c1e349fd91091d86c69075.tar.bz2 |
re PR fortran/34722 (ICE: left-over "@iostat" variable polutes namespace)
2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34722
* trans-io.c (create_dummy_iostat): Commit the symbol.
From-SVN: r131475
Diffstat (limited to 'gcc/fortran/trans-io.c')
-rw-r--r-- | gcc/fortran/trans-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |