https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66310
--- Comment #27 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #26) > > I concur. Closing accordingly. > > I disagree: if there is a limit, gfortran should emit an error. Well you are hitting on an OS limit, we could put a check in the runtime but how do we test that -m32 was used? The error message I get now is from our memory.c: if (p == NULL) os_error ("Memory allocation failed");