From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16600 invoked by alias); 10 Nov 2008 13:33:43 -0000 Received: (qmail 9402 invoked by alias); 10 Nov 2008 13:32:15 -0000 Date: Mon, 10 Nov 2008 13:33:00 -0000 Message-ID: <20081110133215.9401.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dennis dot wassel at googlemail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00706.txt.bz2 ------- 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