This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Options of fixing biggest alignment in PR target/38736
On Thu, Jan 8, 2009 at 3:35 PM, Ian Lance Taylor <iant@google.com> wrote:
> "Richard Guenther" <richard.guenther@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.