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: oopack performance


Joe Buck <jbuck@synopsys.com> writes:

  > 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?

I created a PR for this: c++/10741 (http://gcc.gnu.org/PR?10741)


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