https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137
--- Comment #29 from Jan Hubicka <hubicka at gcc dot gnu.org> --- For completeness note that we can also stick info into FUNCTION_DECLs (i.e. by an attribute) to avoid flags pollution. Then it could be TU sensitive since lto-symtab knows that in certain cases it should not merge the declaration and keeps multiple decls for single symbol. But this does not play well with the observation that at least clang's version seem to make difference between operator use and direct calls.