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

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 19 20:04:00 GMT 2017


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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kargl at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from kargl at gcc dot gnu.org ---
The reported error message "virtual memory exhausted: Cannot allocate memory"
is fairly descriptive.  Allocating a 1 GB static array is a rather silly
thing for a programmer to do.


More information about the Gcc-bugs mailing list