https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500
--- Comment #10 from Leandro Lupori <leandro.lupori at linaro dot org> --- Wouldn't it be better to turn this into a warning? Although using the result of a function as an allocatable argument doesn't conform with Fortran standards, it has been supported by gfortran for quite some time. This change may break existing code.