[Bug c/70082] Attribute ifunc marked functions should not be allowed to call other functions.
carlos at redhat dot com
gcc-bugzilla@gcc.gnu.org
Sun Sep 16 03:59:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70082
--- Comment #7 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Martin Sebor from comment #6)
> Carlos, do you still feel diagnosing some of the [mis]uses would be helpful,
> e.g., by a warning? (I ask because I've been doing some work in this area
> -- pr81824 -- and I might be able to take care of this at some point as
> well, perhaps for GCC 10).
I do still believe that detection and warning of misuses of IFUNC would be
helpful. The glibc solutions required to make IFUNC robust are not in place,
and so we should do what we can to warn users that it might break. They can
then disable the warnings with pragmas (in the case of -Werror) or ignore them.
More information about the Gcc-bugs
mailing list