https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66310
--- Comment #22 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- For the original test program p character :: z = 'z' print *, repeat(z, huge(1_4)) end I get % gfc pr66310.f90 -m32 % ./a.out > zzz a.out(22882,0xa9b3c1c0) malloc: *** mach_vm_map(size=2147483648) failed (error code=3) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Program received signal SIGSEGV: Segmentation fault - invalid memory reference.