On Thu, Jan 8, 2009 at 3:35 PM, Ian Lance Taylor <i...@google.com> wrote: > "Richard Guenther" <richard.guent...@gmail.com> writes: > >> I don't think we should encourage more uses of __attribute__((aligned)). > > But then how can one write a general purpose portable memory > allocator?
Your C library may provide int posix_memalign(void **memptr, size_t alignment, size_t size); -- H.J.