[Bug ipa/64963] IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 10 11:19:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'm not so sure that putting the clones into the same section si the right
thing. The clone is by definition a local compiler generated function, it
might not be desirable in the user defined section, which could have all kinds
of weird handling on it. If the kernel can't grok some functions being cloned,
I'd say it should just use noclone attribute on those.
More information about the Gcc-bugs
mailing list