decl.c (pushtag): Don't put local classes in template functions on the local_classes list.
* decl.c (pushtag): Don't put local classes in template functions on the local_classes list. * decl2.c (get_guard): Add missing return for old ABI local variable case. From-SVN: r34937
This commit is contained in:
parent
7b019c1999
commit
089acd579b
@ -1,3 +1,13 @@
|
||||
2000-07-09 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (pushtag): Don't put local classes in template functions
|
||||
on the local_classes list.
|
||||
|
||||
2000-07-04 Scott Snyder <snyder@fnal.gov>
|
||||
|
||||
* decl2.c (get_guard): Add missing return for old ABI local
|
||||
variable case.
|
||||
|
||||
2000-07-09 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* cp-tree.h (char_type_p): New function.
|
||||
|
@ -2899,7 +2899,8 @@ pushtag (name, type, globalize)
|
||||
way. (It's otherwise tricky to find a member function definition
|
||||
it's only pointed to from within a local class.) */
|
||||
if (TYPE_CONTEXT (type)
|
||||
&& TREE_CODE (TYPE_CONTEXT (type)) == FUNCTION_DECL)
|
||||
&& TREE_CODE (TYPE_CONTEXT (type)) == FUNCTION_DECL
|
||||
&& !processing_template_decl)
|
||||
VARRAY_PUSH_TREE (local_classes, type);
|
||||
|
||||
if (!uses_template_parms (type))
|
||||
|
@ -2874,6 +2874,7 @@ get_guard (decl)
|
||||
{
|
||||
guard = get_temp_name (integer_type_node);
|
||||
rest_of_decl_compilation (guard, NULL_PTR, 0, 0);
|
||||
return guard;
|
||||
}
|
||||
|
||||
if (!flag_new_abi)
|
||||
|
Loading…
x
Reference in New Issue
Block a user