https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589
Toon Moene <toon at moene dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #9 from Toon Moene <toon at moene dot org> ---
Unfortunately, I now get the following error on the original code in the
attachment:
(export
LD_LIBRARY_PATH=/home/toon/compilers/install/coarray_native/lib/gcc/x86_64-pc-linux-gnu/11.0.0;
export GFORTRAN_NUM_IMAGES=1; echo ' &config / ' | ./a.out)
Decomposition information on image 1 : there are 1 * 1 slabs; the slab on
this image has 90 * 90 grid cells.
Fortran runtime error: Integer overflow when calculating the amount of memory
to allocate
Error termination. Backtrace:
#0 0x7f310ff36bd0 in ???
#1 0x7f310ff37685 in ???
#2 0x7f310ff37b49 in ???
#3 0x40247b in __types_MOD_global_alloc
at /home/toon/src/test-coarrays.f90:21
#4 0x403a74 in random_weather
at /home/toon/src/test-coarrays.f90:95
#5 0x7f311021bc0a in image_main_wrapper
at
/home/toon/compilers/coarray_native/libgfortran/nca/coarraynative.c:184
#6 0x403acb in main
at /home/toon/src/test-coarrays.f90:28