This is the mail archive of the gcc@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: Inquiry about RTL


SRUTHY C.N. wrote:
then why can't the next int var (int takes 4 byte) take offset -6? why it
is taking offset -8?

Alignment. -6 is not a 4-byte aligned address.


please tell me where can I get such details?

See the ABI documentation for your target. You didn't mention the target, but assuming it is x86-linux, see
http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/IA32/spec/book1.html
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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