https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500
--- Comment #12 from Leandro Lupori <leandro.lupori at linaro dot org> --- (In reply to anlauf from comment #11) > Do you have anybody else supporting the view that the code in question > should work as an extension? > I know there is some usage of this extension, in code similar to this (using a function result as an allocatable argument), as it works with gfortran and ifort (https://github.com/llvm/llvm-project/issues/60226). Its inclusion in flang (with a portability warning) is being analyzed: https://reviews.llvm.org/D147614 However, the main motivation was to improve compatibility with other compilers, such as gfortran and ifort. I'm trying to check with the issue reporter how extensive is his usage of this extension and how much effort it would require for him to avoid using it.