[cfe-dev] alignment of local variables

Eric Christopher echristo at apple.com
Mon Mar 28 10:03:56 PDT 2011


On Mar 28, 2011, at 9:58 AM, Akira Hatanaka wrote:

> Is it possible to set a maximum alignment for local variables, either by passing a command line option or using target-specific hooks? 
> For example, in the code shown below, if the maximum alignment is 8, the alignment attribute in the source code (__aligned__(16)) will be ignored, and local variable a will be aligned on an 8-byte boundary. 

No, and why would you want to do this?

-eric



More information about the cfe-dev mailing list