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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, lookng at the kernel, I don't see how this can happen.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/fortify-string.h
uses __FORTIFY_INLINE macro for memset, which is defined in the same file as:
#define __FORTIFY_INLINE extern __always_inline __attribute__((gnu_inline))
and
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/compiler_attributes.h
defines __always_inline as
#define __always_inline                 inline
__attribute__((__always_inline__))
fnsplit pass punts on inline functions with __always_inline__ attribute, they
need to be wholly inlined always.

Reply via email to