[PATCH] Introduce __BIGGEST_ALIGNMENT__ macro

Joerg Sonnenberger joerg at britannica.bec.de
Sat Dec 13 12:24:06 PST 2014


On Sat, Dec 13, 2014 at 08:00:26PM +0000, mats petersson wrote:
> Would it help to have some sort of test that tries to check the natural
> alignment needed for various built in types - including vector types (such
> as the ones used by SSE and AVX), and compare that with this constant?
> 
> Or are you simply concerned that "this doesn't help much, since it doesn't
> fix binaries already produced"?

It doesn't help, so at the very least it has to be documented
appropiately.

Joerg



More information about the cfe-commits mailing list