[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-10 Thread kargl at gcc dot gnu dot org
--- Comment #12 from kargl at gcc dot gnu dot org 2008-11-10 15:01 --- (In reply to comment #11) > (In reply to comment #10) > > 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

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-10 Thread michael dot a dot richmond at nasa dot gov
--- Comment #11 from michael dot a dot richmond at nasa dot gov 2008-11-10 13:50 --- (In reply to comment #10) > 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 pr

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-10 Thread dennis dot wassel at googlemail dot com
--- 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.htm

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-10 Thread michael dot a dot richmond at nasa dot gov
--- Comment #9 from michael dot a dot richmond at nasa dot gov 2008-11-10 12:59 --- (In reply to comment #8) > If you check, the minimum size of count is 8 as returned by the size= argument > if you use it. Try this. size is intent OUT. The documentation says only that the size argumen

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-11-10 03:16 --- If you check, the minimum size of count is 8 as returned by the size= argument if you use it. Try this. size is intent OUT. PROGRAM sort1 INTEGER Count(1) !Current value of system clock integer Size CALL Rand

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-09 Thread michael dot a dot richmond at nasa dot gov
--- Comment #7 from michael dot a dot richmond at nasa dot gov 2008-11-10 00:09 --- I get a compile-time error: [EMAIL PROTECTED]:~$ cat sort1.f90 PROGRAM sort1 INTEGER Count(1) !Current value of system clock CALL Random_Seed(Put=Count) END PROGRAM sort1 [EMAIL PROTECTED]:~$ gfortr

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-02 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-11-02 14:18 --- > Not closing yet, as the GET array could also be checked, > see http://gcc.gnu.org/ml/fortran/2008-10/msg00281.html . Another item: If the default integer is 8 instead of 4, the array sizes are half as big (see also

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-11-01 10:29 --- Committed patch. Not closing yet, as the GET array could also be checked, see http://gcc.gnu.org/ml/fortran/2008-10/msg00281.html . Thomas -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37159

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-11-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-11-01 10:25 --- Subject: Bug 37159 Author: tkoenig Date: Sat Nov 1 10:24:15 2008 New Revision: 141511 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141511 Log: 2008-11-01 Dennis Wassel <[EMAIL PROTECTED]> PR fo

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-09-18 Thread dennis dot wassel at googlemail dot com
--- Comment #3 from dennis dot wassel at googlemail dot com 2008-09-18 21:00 --- Updated patch: http://gcc.gnu.org/ml/fortran/2008-09/msg00161.html Will be committed by Thomas Koenig as soon as my copyright assignment is done. How come I cannot add myself in the "assigned to" or change

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-08-24 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-08-24 18:34 --- Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time

2008-08-23 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-08-24 06:36 --- Patch: http://gcc.gnu.org/ml/fortran/2008-08/msg00190.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37159