HomeFreeBSD

Make use of GCC alloc_align attribute

Description

Make use of GCC alloc_align attribute

This lets the compiler know about the alignment of pointers returned
by aligned_alloc(3), posix_memalign(3). and contigmalloc(9)

Currently this is only supported in recent gcc but we are ready to
use it if clang implements it.

Relnotes: yes

Details

Provenance
pfgAuthored on
Parents
rS282987: Break apart the gnu_inline attribute and use "artificial" if available.
Branches
Unknown
Tags
Unknown