[Bug ipa/64963] [5 Regression] IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 10 19:06:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963

--- Comment #10 from Andi Kleen <andi-gcc at firstfloor dot org> ---
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.



More information about the Gcc-bugs mailing list