This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: needless deep recursion in gt-c-decl.h
- From: Geoff Keating <geoffk at geoffk dot org>
- To: per at bothner dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 5 Aug 2002 11:14:53 -0700
- Subject: Re: needless deep recursion in gt-c-decl.h
- References: <3D3E1AFA.2010707@bothner.com> <200207240443.g6O4hx418758@desire.geoffk.org> <3D3E34F6.7060805@bothner.com> <200207240529.g6O5Thw18855@desire.geoffk.org> <3D3E47C0.5020100@bothner.com> <200207242151.g6OLp7W19902@desire.geoffk.org> <3D401801.3050609@bothner.com> <200207251825.g6PIPDf21554@desire.geoffk.org> <3D408B37.6090208@bothner.com> <200207302314.g6UNEab06587@desire.geoffk.org> <3D473258.60804@bothner.com> <200208011932.g71JWIN10977@desire.geoffk.org> <3D4EB22E.5010307@bothner.com> <200208051721.g75HLcx28171@desire.geoffk.org> <3D4EBB01.8070706@bothner.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Mon, 05 Aug 2002 10:50:57 -0700
> From: Per Bothner <per@bothner.com>
> Geoff Keating wrote:
> > The patch I finally committed solves this problem in a more general
> > way.
>
> Yes, but by slowing down marking by 5%, when compile-time speed is a
> major concern.
The slowdown appears to be in using a two-loop algorithm for marking
RTL, not in marking trees or in the third loop.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>