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]

default alignment


Hi,

Assume the following C program.

void main ( void )
{
  int var;
}

Does gcc guarantee that "var" will be aligned on 4-byte boundary on
x86 (32/64) architectures ?

Thanks for help


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