This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to control the offset for stack operation?
- From: "Mohamed Shafi" <shafitvm at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 16 Apr 2007 13:25:52 +0530
- Subject: How to control the offset for stack operation?
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