https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81128
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu.org --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Well, I'm also not sure how it should behave. What happens currently is that we have static alias and static resolver. Thus ipa-visibility finds out that call to do_it_right_at_runtime can be replaced with resolve_do_it_right_at_runtime. Then inlining happens. I'm adding Nathan who implemented ifunc support in GCC and should know answer. I suggest to not evaluate ifunc alias as not interposable. That would prevent the problem.