This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: default alignment


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]