https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109369
--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Indeed, sorry, __attribute__((used)) seems a much better solution for symbols that might be referenced implicitly, in a manner that LTO plugin cannot see.