vetr icon indicating copy to clipboard operation
vetr copied to clipboard

Verify Pointer Alignment Compatible with Double

Open brodieG opened this issue 4 years ago • 1 comments

We write (char *) pointers to a malloc bloc that is double aligned; need to make sure the assumption that the alignment is compatible is true, e.g. in startup assertions.

I believe this is going to be TRUE just about everywhere, unless somewhere there is a 128 bit system with 64 bit doubles.

brodieG avatar Mar 04 '20 14:03 brodieG

Very low likelihood this is an issue so deferring for now. Would need to believe that sizeof() type tests would work and not get optimized out, etc..

brodieG avatar Nov 04 '20 15:11 brodieG