On 6 Jul 2013, at 08:58, Richard Frith-Macdonald 
<[email protected]> wrote:

> If anyone knows a clang equiivalent of __BIGGEST_ALIGNMENT__, we could/should 
> change to use it, since using 16 may waste space on some architectures and 
> may not be enough on others (though I know of none).

This will result in some extra wasted space on all objects that do not contain 
vectors.  I've now fixed (somewhat over defensively, but I'll relax it a bit 
before the next release) the ivar layout code in the runtime so that it will 
ensure that the instance variables all have the alignment that they need (or, 
currently, a bit more in some cases).  In GC mode, this extra padding is not 
added.

David

-- Send from my Jacquard Loom
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to