https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111134
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I doubt this will be implemented. The whole "data" associated with a function is not exactly true as these functions could be inlined somewhere else. So unless you have a checker (which the linux kernel kinda does but it has so many exceptions in its rules), you are not going to able to do what you want.