strict-aliasing and typedefs
Joe Buck
jbuck@synopsys.com
Wed May 14 23:14:00 GMT 2003
On Wed, May 14, 2003 at 07:10:02PM -0400, Robert Dewar wrote:
> > Would that loss of performance be related to ABI issues (in single
> > element case)?
>
> Right, for instance on SPARC, you have to pass even a one elemnt struct
> by pointer (at least that's my understanding!)
While such costs are real, they are in many cases dwarfed by GCC's
inefficiency at handling internal structs (those within one function,
or passed only to inlined functions).
More information about the Gcc
mailing list