[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time
dennis dot wassel at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 10 13:33:00 GMT 2008
------- Comment #10 from dennis dot wassel at googlemail dot com 2008-11-10 13:32 -------
Subject: Re: RANDOM_SEED: PUT= check array size at compile time
> The documentation says only that the size argument has to be an integer. See
> http://gcc.gnu.org/onlinedocs/gfortran/RANDOM_005fSEED.html
On the contrary: The documentation clearly and concisely states
SIZE (Optional) Shall be a scalar and of type default INTEGER, with
INTENT(OUT). It specifies the minimum size of the arrays used with the
PUT and GET arguments.
Admitted, it does not say SIZE = 8, because this value may be
compiler- and system-dependent (may also be 12 for gfortran on some
platforms), which is why the standard provides the SIZE argument in
the first place.
I fail to see the problem - could you clarify?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37159
More information about the Gcc-bugs
mailing list