Joshua Perry <j...@6bit.com> wrote:

> Is there a diagnostic or tool in GCC/G++ to see how it decided to
> layout an object in memory, with alignment, padding, vtable, etc...?

AVR-GCC doesn't apply any padding, as the CPU is an 8-bit CPU.

You could start with avr-nm to see the address (and thus, implicitly,
the size) of each object.

Do you have string literals in your code?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to