[Bug fortran/80610] Compiler crashes ungraciously when large static array is initialized with anything other than zero

sgk at troutmask dot apl.washington.edu gcc-bugzilla@gcc.gnu.org
Fri May 19 21:45:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80610

--- Comment #10 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, May 19, 2017 at 08:31:00PM +0000, gustavo.hime at mpimet dot mpg.de
wrote:
> 
> Are there any maintainers on the gfortran project who can see this? I am going
> to reopen the bug once more, but then I wash my hands. For the record, I'm not
> wasting my time reporting further bugs in gfortran if this is how the
> maintainers deal with the user community. I am one of the few who advocate
> gfortran in favour of the commercial alternatives at my institute,
> but you have seriously shaken my views just now.


There is nothing gfortran can do for you.  You have a
REAL array with 1024**3 elements.  You specifically 
asked gfortran to set ever element of that array to some
value.  gfortran tried to honor your request.  gfortran did
not crash.  Your OS intervened and killed the process,
because you exhausted available memory.


More information about the Gcc-bugs mailing list