https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105342
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes it is greater than a function call as it has to be a barrier to even memory which does NOT escape the function. Yes inlining does change it from dealing with escaped memory to even local ones. I doubt it can be fixed though because you have to mark which memory was active in the function where it was inlined from and such.