[Bug ipa/64963] [5 Regression] IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Tue Feb 10 20:10:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963
--- Comment #11 from Jan Hubicka <hubicka at ucw dot cz> ---
> Yes it has to be fixed. For example with the kernel __kprobes attribute it
> could cause a real bug (__kprobes marks function that cannot be safely
> instrumented)
>
> We shouldn't inline over different section names either, this could also cause
> problems for the same reason.
Yeah, I have feeling that if clonning hurts we basically want to avoid code
motion in between
user named sections, including ipa-split that will take part of body and pull
it out, localization
and other optimizations we perform... I will take a look.
Honza
More information about the Gcc-bugs
mailing list