[PATCH] Introduce __BIGGEST_ALIGNMENT__ macro

Joerg Sonnenberger joerg at britannica.bec.de
Sat Dec 13 13:32:41 PST 2014


On Sat, Dec 13, 2014 at 09:15:53PM +0000, mats petersson wrote:
> 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.

How does that interact with codegen flags like -mno-sse2? What about
support for new target types in later version -- from the writing it is
nowhere clear that this macro is not fixed.

Joerg



More information about the cfe-commits mailing list