> 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 that ought to return xxx unless the target of localalias is thunk that is not recursive. > thing we can do is to write a simple case to force generation of .localalias > and test that. To do that you can probably write simple C++ self-recursive inline function and compile with -fpic.
Honza