default alignment

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Mon Jun 15 14:43:00 GMT 2015


On 15/06/15 15:40, Andrew Haley wrote:
> On 06/15/2015 03:38 PM, Pawel Por wrote:
>> Does gcc guarantee that "var" will be aligned on 4-byte boundary on
>> x86 (32/64) architectures ?
> 
> Yes.
> 
> Andrew.
> 

Provided "var" exists in memory...  It could live entirely in a register
with this program (or not exist at all, given it's never used).


R.



More information about the Gcc-help mailing list