https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67451
--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > gfortran.dg/coarray_allocate_3.f08 crashed with an invalid free() > on s390 and s390x. If the test is compiled with -fsanitize=address, I get ==19013==ERROR: AddressSanitizer: global-buffer-overflow on address 0x00010ef2e1d8 at pc 0x00010ef2d1dd bp 0x7fff50cd32f0 sp 0x7fff50cd32e8 WRITE of size 8 at 0x00010ef2e1d8 thread T0 #0 0x10ef2d1dc in MAIN__ (a.out+0x1000011dc) #1 0x10ef2d79e in main (a.out+0x10000179e) #2 0x7fff8c7695ac in start (libdyld.dylib+0x35ac) #3 0x0 (<unknown module>) 0x00010ef2e1d8 is located 0 bytes to the right of global variable 'some_local_object' defined in '/opt/gcc/_clean/gcc/testsuite/gfortran.dg/coarray_allocate_3.f08:15' (0x10ef2e1a0) of size 56 SUMMARY: AddressSanitizer: global-buffer-overflow (a.out+0x1000011dc) in MAIN__ Shadow bytes around the buggy address: 0x100021de5be0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5bf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 0x100021de5c20: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 f9 f9 =>0x100021de5c30: f9 f9 f9 f9 00 00 00 00 00 00 00[f9]f9 f9 f9 f9 0x100021de5c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x100021de5c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...