[Bug c++/14179] [3.3/3.4/4.0 Regression] out of memory
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 22 15:33:00 GMT 2004
------- Additional Comments From mark at codesourcery dot com 2004-09-22 15:33 -------
Subject: Re: [3.3/3.4/4.0 Regression] out of memory
bonzini at gnu dot org wrote:
>------- Additional Comments From bonzini at gnu dot org 2004-09-22 13:51 -------
>Actually precedence parsing is not a big job, incrementally what I did for my
>patch was just a matter of
>1) making a single map of all the productions instead of the per-function maps
>we have currently
>2) making cp_parser_binary_expression use it, still keeping the recursive call
>and passing around the precedence we are interested in
>3) turn recursion into an explicit stack
>4) optimize to eliminate unneeded (simulated) recursion
>
>It would be nice if the wiki were used to track in-house CodeSourcery projects.
> It looks like Jeffrey and I duplicated work, and we almost did the same on the
>tree class codes projects (and I'm not mocking CodeSourcery's work, I'm just
>reading the wiki and using common sense on where to optimize the compiler).
>
>
I'm sorry that happened, but we did mention the operator-precedence
parsing and tree-code conversion work publicly as we started on it.
We'll try to be louder. I am certainly no happier than you that we are
duplicating each other's work!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179
More information about the Gcc-bugs
mailing list