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: C++ optimization: compile time + memory consumption regressionon gcc3.3 branch


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


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