https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83540
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Two possible methods: Either try to use ALLOCATE instead of > assignment for front-end optimization, or simply disallow > matmul for those cases. The code uses ALLOCATE without any realloc-lhs!-(