Options of fixing biggest alignment in PR target/38736
Ian Lance Taylor
iant@google.com
Fri Jan 9 00:56:00 GMT 2009
Michael Meissner <meissner@linux.vnet.ibm.com> writes:
>> For that matter, don't we have a problem on x86 GNU/Linux, where
>> malloc returns an 8-byte alignment but attribute((aligned)) is a 16
>> byte alignment?
>
> In that case, malloc should be changed to return items that are 16-byte aligned
> if any type needs 16-byte alignment for any possible ISA.
But that isn't going to happen.
http://sourceware.org/bugzilla/show_bug.cgi?id=206
Ian
More information about the Gcc
mailing list