__vector(ubyte[32]) misalignment

kinke noone at nowhere.com
Sun Aug 9 10:02:32 UTC 2020


On Sunday, 9 August 2020 at 01:03:51 UTC, Bruce Carneal wrote:
> Is sub .alignof alignment expected here?  IOW, do I have to 
> manually manage memory if I want alignments above 16?

IIRC, yes when using the GC, as that only guarantees 16-bytes 
alignment. Static arrays on the stack should be aligned just fine 
with LDC.


More information about the Digitalmars-d-learn mailing list