C++ PATCH: PR c++/3907

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Sep 15 01:34:00 GMT 2003


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



More information about the Gcc-patches mailing list