This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: PR c++/3907


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]