This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix 7086
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Mar 2003 16:34:03 +0100 (CET)
- Subject: Re: PATCH: Fix 7086
- References: <200303240749.h2O7nHrh003269@sirius.codesourcery.com>
On Sun, 23 Mar 2003, Mark Mitchell wrote:
> PR c++/7086 is a compilation-time issue. The problem is the quadratic
> behavior in fixup_var_refs. This patch doesn't fix that problem, but
> it does greatly reduce the number of calls to fixup_var_refs for the
> test case in question [...]
> On the test case in question, this patch improves the compilation time
> from 2.5 minutes to 9 seconds.
Impressive!
I now also retested PR 8361
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=8361
and for -O3 your patch also brings a nice speedup there.
In the next days, I'll try to redo all test from that PR with current
mainline and the 3.3 branch in more detail (and --disable-checking
everywhere).
Gerald