aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-06-20 00:48:44 +0000
committerMark Mitchell <mark@codesourcery.com>2003-06-20 00:48:44 +0000
commit83b418391f8c6ce6061f795cf917f818907f22c9 (patch)
tree18750127388f053e1dd83e7ae5f29fc9e9fe0bfb /gcc/cp/decl.h
parent25d305ce949cf4c0c5e022568d65ff57909b251f (diff)
PR c++/11041
* call.c (initialize_reference): Do not use cp_finish_decl to emit temporary variables. * cp-tree.h (static_aggregates): Declare. (pushdecl_top_level_and_finish): Likewise. * decl.c (pushdecl_top_level_1): New function. (pushdecl_top_level): Use it. (pushdecl_top_level_and_finish): New function. (initialize_local_var): Remove redundant code. (cp_finish_decl): Remove support for RESULT_DECLs. Don't check building_stmt_tree. * decl.h (static_aggregates): Remove. * decl2.c (get_guard): Use pushdecl_top_level_and_finish. * rtti.c (get_tinfo_decl): Use pushdecl_top_level_and_finish. (tinfo_base_init): Likewise. PR c++/11041 * g++.dg/init/ref7.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@68236 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.h')
-rw-r--r--gcc/cp/decl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cp/decl.h b/gcc/cp/decl.h
index b942687407f..2a7a7659e1b 100644
--- a/gcc/cp/decl.h
+++ b/gcc/cp/decl.h
@@ -37,12 +37,6 @@ extern tree grokdeclarator (tree, tree, enum decl_context, int, tree*);
or a chain or parameter decls here. */
extern GTY(()) tree last_function_parms;
-/* A list of objects which have constructors or destructors
- which reside in the global scope. The decl is stored in
- the TREE_VALUE slot and the initializer is stored
- in the TREE_PURPOSE slot. */
-extern GTY(()) tree static_aggregates;
-
#ifdef DEBUG_CP_BINDING_LEVELS
/* Purely for debugging purposes. */
extern int debug_bindings_indentation;