This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: mips structure padding
- From: "Todd Malsbary" <toddm at fullplaymedia dot com>
- To: "Fergus Henderson" <fjh at cs dot mu dot oz dot au>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Thu, 31 Jan 2002 09:44:03 -0800
- Subject: RE: mips structure padding
> From: Fergus Henderson [mailto:fjh@cs.mu.oz.au]
> Sent: Thursday, January 31, 2002 2:49 AM
> To: Todd Malsbary
> Cc: Eric Christopher; gcc@gcc.gnu.org
> Subject: Re: mips structure padding
>
> Do you mean that you think it is a bug that the sizes differ?
yes, the size difference is the part that's puzzling me.
> The answer to that is no, it is not a bug, it is a feature.
>
> Here's a simplified example.
the example makes perfect sense. the part that still confuses me is
that i found this problem in the ecos sources which are compiled for a
variety of targets with gcc so i assumed that the sizes are the same on
all the different targets they've used and the size difference is just
showing up with the target i'm using. anyway, thanks to all the people
who helped me out with this.
Todd