This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41283] Generated program gets killed on subsequent calls to random_number on "double precision" arrays of size 100000000 (1e8)
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2009 16:25:00 -0000
- Subject: [Bug fortran/41283] Generated program gets killed on subsequent calls to random_number on "double precision" arrays of size 100000000 (1e8)
- References: <bug-41283-18158@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from kargl at gcc dot gnu dot org 2009-09-06 16:25 -------
>
> ! call random_seed() ! doesn't seem to change anything
It changes the seeds to the default settings. Please see
the manual that came with gfortran.
As to the other problem, follow Richard's advice and
use a dynamic array.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41283