https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63844
--- Comment #13 from Andi Kleen <andi-gcc at firstfloor dot org> --- >I think aggregate IPA-CP does that, IPA-SRA cannot as the function has >its address taken. Perhaps that case (only passing address to gomp runtime) could be special cased in the escape analysis.