https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93084
--- Comment #9 from fxue at gcc dot gnu.org --- xxx.localalias is gcc-generated as a noninterposable alias to xxx. But I guess target node returned by xxx.localalias->function_symbol() is not xxx. A simple thing we can do is to write a simple case to force generation of .localalias and test that.