This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: oopack performance
- From: Joe Buck <jbuck at synopsys dot com>
- To: Dan Nicolaescu <dann at ics dot uci dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 6 May 2003 09:36:20 -0700
- Subject: Re: oopack performance
- References: <200305061329.h46DT498020497@gremlin.ics.uci.edu>
On Tue, May 06, 2003 at 06:28:54AM -0700, Dan Nicolaescu wrote:
> Mainline GCC performs well for the 3 of the 4 oopack benchmarks.
> The only exception is "Complex".
> ...
> The performance can be improved dramatically by just adding a
> constructor to the "Complex" class:
>
> Complex (const Complex &F) : re(F.re), im(F.im) {}
This is very odd, because that's pretty much the same as the
default compiler-generated constructor. Anyone have any idea
why there's so much difference?