This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 51908
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 05 Jun 2013 10:19:12 -0400
- Subject: Re: [C++ Patch] PR 51908
- References: <51AE8778 dot 8080901 at oracle dot com> <51AF34DB dot 6080200 at redhat dot com> <51AF381E dot 7030709 at oracle dot com> <51AF3AE7 dot 50703 at redhat dot com>
On 06/05/2013 09:19 AM, Jason Merrill wrote:
In any case, the commit doesn't seem like the problem.
Oh, I see, of course it is. The problem is that it commits to all
levels, so that if we happen to be in a nested tentative parse we can't
commit to the inner one without committing to the outer one, which might
not be appropriate. This seems like a basic flaw in our tentative
parsing mechanism.
What happens if we disable that commit entirely?
Jason