This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strict-aliasing and typedefs


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]