https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958
--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> --- > Am 04.07.2025 um 18:18 schrieb jamborm at gcc dot gnu.org > <gcc-bugzi...@gcc.gnu.org>: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958 > > --- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> --- > SRA is "Scalar Replacement of Aggregates" pass. It is one of our > optimization passes which can split up aggregates into scalar > components and thus allow further optimizations. > > To "escape" means that the address of the parameter is stored > somewhere in the global state of the program during the execution of > the called function and so it can be modified through an alias or in a > subsequent call to some function. > > My knowledge of Fortran is limited but my understanding is that later > versions of Fortran introduced the ASYNCHRONOUS attribute to deal with > thee situations. In particular Fortran 77 doesn’t have POINTER, but Fortran 77 can call C functions (though not in a standard defined way). It is probably uncommon that this case happens on automatic variables. I‘m unsure if we can do better than ignoring the problem or not set any fnspec for all functions for legacy/f77 standard programs? > > -- > You are receiving this mail because: > You are on the CC list for the bug.