This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR c++/3907
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 15 Sep 2003 03:34:01 +0200
- Subject: Re: C++ PATCH: PR c++/3907
- Organization: Integrable Solutions
- References: <200309150100.h8F10vr5007600@minax.codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
| (scope_kind): Add sk_function_parms, sk_class,
| sk_namespace.
| (innermost_scope_kind): New method.
[...]
| (begin_scope): Simplify.
| (add_decl_to_level): Use "kind" field in binding_level, not
| the various flags.
| (push_local_binding): Likewise.
| (pop_label): Remove check for doing_semantic_analysis_p.
| (poplevel): Use "kind" field in binding_level, not
| the various flags.
[...]
Great. Funny you did this.
I have a similar patch in my local tree, expanding on a patch that
was being reviewed by you and Jason.
I have further simplifications, I shoujld submit in a moment.
Trying to reformulat the tag_transparent field in terms of the more
regurlar "scope_kind" parameter led me to some regressions.
-- Gaby