Hi all,
I am using cross compiler ( gcc 4.3.4) ported for custom processor.
I have observed strange issue.
same structure is used in different files and both the files are
compiled with same compilation options. But the structure size and
structure element offset are generated differently (identified while
analysing assembly code).
If the structure is packed then code generated to handle that structure
is similar in both the files. But code size was increased (due packed
structure).
What could be the reason for this issue ?
Please help me to resolve this issue.
Thanks,
Siva Prasad