This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC/RFHelp: overhaul C front end's identifier->decl lookup
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Michael Matz <matz at suse dot de>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 04 Apr 2003 09:53:00 -0800
- Subject: Re: RFC/RFHelp: overhaul C front end's identifier->decl lookup
- References: <Pine.LNX.4.33.0304041752310.3646-100000@wotan.suse.de>
Michael Matz <matz at suse dot de> writes:
> Hi,
>
> On Thu, 3 Apr 2003, Zack Weinberg wrote:
>
>> which I will look at tomorrow when I am awake. But what I need help
>> with is, c-symbol-lookup.diff accomplishes a small speedup, but
>> c-tag-lookup.diff makes the compiler slower than it was before I
>> began, and I don't understand why.
>
> OK, I now changed the diffs to be applyable and tried a profilable version
> of the compiler on a big C testcase (basically a concatenation of
> insn-attrtab.c, insn-recog.c, expr.c and fold-const.c).
[...]
Your results are dominated by reload and related logic. Could you
please repeat this test with -fsyntax-only, which should focus
attention on the parser?
> I.e. all in all I think this patch has no real performance impact either
> way, at least not in a profiling cc1.
That is more like what I expected, but I would like to have some
explanation of the result I get for bootstrap time...
zw