[Bug fortran/68401] improve 'Allocation would exceed memory limit'
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 16 16:27:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://gcc.gnu.org/ml/gcc-
| |patches/2019-08/msg01172.ht
| |ml
--- Comment #12 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Patch at https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01172.html
With this the test.f90 in the original report prints something like:
In file 'test.f90', around line 5: Error allocating 4294967296 bytes: Cannot
allocate memory
Error termination. Backtrace:
#0 0x400874 in test
at /home/janne/src/gfortran/my-patches/pr68401-oserror/test.f90:4
#1 0x4008d3 in main
at /home/janne/src/gfortran/my-patches/pr68401-oserror/test.f90:4
(yes, the location is off a little bit)
More information about the Gcc-bugs
mailing list