Commit 8598a113 by Tobias Schlüter Committed by Tobias Schlüter

re PR fortran/14077 (Data statement within a module that doesn't initialize a…

re PR fortran/14077 (Data statement within a module that doesn't initialize a whole array creates an error)

PR fortran/14077
* moduele.c (mio_symbol): Don't I/O initial values unless
symbol is a parameter.

From-SVN: r84408
parent 60f4f3b7
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14077
* moduele.c (mio_symbol): Don't I/O initial values unless
symbol is a parameter.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13201
* resolve.c (resolve_symbol): Verify that the shape of a
parameter array is not only explicit, but also constant.
......
......@@ -2675,7 +2675,9 @@ mio_symbol (gfc_symbol * sym)
mio_formal_arglist (sym);
mio_expr (&sym->value);
if (sym->attr.flavor == FL_PARAMETER)
mio_expr (&sym->value);
mio_array_spec (&sym->as);
mio_symbol_ref (&sym->result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment