c/2547: GCC generate wrong size struct

neil@gcc.gnu.org neil@gcc.gnu.org
Tue Oct 30 13:58:00 GMT 2001


Synopsis: GCC generate wrong size struct

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Tue Oct 30 13:58:51 2001
State-Changed-Why:
    Not a bug - you need to read about alignment issues and
    padding.
    You might be able to avoid padding bytes by rearranging
    the members of your structures.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2547&database=gcc



More information about the Gcc-prs mailing list