"H.J. Lu" <hjl.to...@gmail.com> writes:

>> Given that __attribute__ ((aligned (max))) may change, I don't
>> think it is very useful.  A portable generic memory allocator should
>> take an additional argument for alignment.
>>
>
> If we really want the maximum useful alignment for the target machine
> we are compiling for, I would prefer __attribute__ ((aligned (best)))
> and document that it may be changed by -mXXX.

I don't care what the name is.

It's hard to pass an alignment parameter to the memory allocator when
using the C++ new operator.

Ian

Reply via email to