https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958
kargls at comcast dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargls at comcast dot net
--- Comment #2 from kargls at comcast dot net ---
(In reply to Martin Jambor from comment #0)
>
> The problem is that tree-sra is told by escape analysis that the
> address of the first parameter of mpi_irecv does not escape. And so
> the aggregate passed in that parameter is an SRA candidate and is
> broken down into scalar components and these are reloaded immediately
> after the function returns returns and not after a call of mpi_wait.
Don't know what SRA is. What does it mean for a parameter to
escape or not escape? In particular, this is likely not
restricted to just Fortran 77. It may effect all versions of
Fortran.