How to make the address of varients are assigned immediately in the memory?

Elva Wang wangtt96@china.com
Thu May 17 03:25:00 GMT 2001


Hi,gcc groups:
    what configurations or 
options can make the compiler assigned sequential memory for short and long type 
data defined immediatly.
    For instance, I defined a 
structure {short,long ,short,short},if I only use gcc to compile the c 
file.
the memory size of the struture is 12 bytes, not 
10 bytes. This means the memory block is not full occupied. How can I make it 
full occupied.
 
Best Regards!
Elva Wang



More information about the Gcc mailing list