So, what kind of documentation would you like to see? The GCC docs here: https://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html
say: GCC also provides a target specific macro __BIGGEST_ALIGNMENT__, which is the largest alignment ever used for any data type on the target machine you are compiling for. -- Mats On 13 December 2014 at 20:24, Joerg Sonnenberger <[email protected]> wrote: > 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 > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
