https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Created attachment 40620 [details] > Preliminary patch > The attached patch fixes the issue at least on x86_64-linux and the sanitizer > does not report any further issues. Please test. Confirmed on darwin. The patch also fixes the failures for allocate_with_source_8.f08 reported in PR78672.