This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch libfortran/28452] random intrinsics for large reals


Steve,
   When I tried to change ep to ep=kind(1.e0_16) in the equidistrib source,
the resulting code crashes as follows...

equidistrib(18433) malloc: *** vm_allocate(size=1600000000) failed (error code=3)
equidistrib(18433) malloc: *** error: can't allocate region
equidistrib(18433) malloc: *** set a breakpoint in szone_error to debug
Fortran runtime error: ALLOCATE: Out of memory.

Do you think this is a bug in the equidistrib code or in the current random
patch? The random_3.f90 testcase runs fine with the last patch (plus the
minor correction).
              Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]