https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109232
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> --- So one workaround is to explicitly declare begin inline, which works because the problematic test in cgraph_node::finalize_function excludes DECL_DECLARED_INLINE_P functions.