https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117188
kargls at comcast dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargls at comcast dot net --- Comment #1 from kargls at comcast dot net --- The code in invalid Fortran. From F2023, 15.5.2.5 Ordinary dummy variables The requirements in this subclause apply to actual arguments that correspond to nonallocatable nonpointer dummy data objects. .... page 322, Except in references to intrinsic inquiry functions, if the dummy argument is nonoptional and the actual argument is allocatable, the corresponding actual argument shall be allocated. You have REAL(8),DIMENSION(3,e%i),INTENT(OUT):: o but f(:,:) is not allocated prior to 'CALL f_test(e,f)' Note, this is not a number constraint, so a Fortran processor is not required to catch this problem. The "shall be" above is something that the programmer must ensure.