https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70082
--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> --- There might be the case where it is argued that documentation is all that is needed, but that doesn't yield a robust implementation. My biggest worry after seeing gperftools/tcmalloc use IFUNC is that it works on x86_64 by chance, but nowhere else. This poses a serious portability problem for ARM and IBM architectures which differ in the order of relocation processing. Thus I'd like to see ifunc attribute support the common case of code which does some computation based on AT_HWCAP (we'll pass this to all x86_64 ifunc resolvers like newer arches do) and then return a result.