2007/4/16, Mohamed Shafi <[EMAIL PROTECTED]>:
hello all,
Depending on the machine mode the compiler will generate automatically
the offset required for the stack operation i.e for a machine with
word size is 32, for char type the offset is 1, for int type the
offset is 2 and so on..
Is there a way to control this ? i mean say for long long the offset
is 4 if long long is mapped to TI mode and i want the generate the
offset such that it is 2.
Is there a way to do this in gcc ?
Regards,
Shafi
For a x86 machine, the stack's offset always is multiple of 4 bytes.
long long is NOT 4 bytes, is 8 bytes!
Sincerely J.C. Pizarro :)