This is the mail archive of the gcc-patches@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: PATCH: Fix 7086


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


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