https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301
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> --- This seems only specific to Linux kernel and nothing more. Also I am not 100% sure on the semantics you want because it seems like you want 2 programs but compile them together but allow one part to be removed after it is finished. That is outside of GCC definition in general. If you want things to be patched and just mark them as noinline.