This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ optimization: compile time + memory consumption regressionon gcc3.3 branch
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Karel Gardas <kgardas at objectsecurity dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 03 Mar 2003 09:25:42 -0800
- Subject: Re: C++ optimization: compile time + memory consumption regressionon gcc3.3 branch
- References: <Pine.LNX.4.43.0303031121250.32419-100000@thinkpad.c0202001.roe.itnq.net>
Karel Gardas <kgardas at objectsecurity dot com> writes:
> % cumulative self self total
> time seconds seconds calls Ks/call Ks/call name
> 32.39 370.58 370.58 737172489 0.00 0.00 fixup_var_refs_1
> 30.24 716.59 346.01 177958 0.00 0.00 fixup_var_refs_insns
> 15.41 892.87 176.28 737172497 0.00 0.00 fixup_var_refs_insn
> 4.54 944.81 51.94 242350577 0.00 0.00 reg_mentioned_p
> 2.63 974.88 30.07 16240 0.00 0.00 fixup_var_refs
> 1.45 991.47 16.59 245604291 0.00 0.00 rtx_equal_p
This is a well-known quadratic bottleneck -- unfortunately several
bright people have tried and failed to fix it. I wouldn't bother
looking any farther for the performance problem.
I intend to have another tilt at this windmill in the 3.4 timeframe
but don't hold your breath.
zw