mips structure padding

Todd Malsbary toddm@fullplaymedia.com
Thu Jan 31 12:45:00 GMT 2002


> 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
 



More information about the Gcc mailing list