aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 9cf2ae7..d9db3b0 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -459,14 +459,6 @@ build_cplus_array_type_1 (elt_type, index_type)
if (elt_type == error_mark_node || index_type == error_mark_node)
return error_mark_node;
- push_obstacks_nochange ();
-
- /* If both ELT_TYPE and INDEX_TYPE are permanent,
- make this permanent too. */
- if (TREE_PERMANENT (elt_type)
- && (index_type == 0 || TREE_PERMANENT (index_type)))
- end_temporary_allocation ();
-
if (processing_template_decl
|| uses_template_parms (elt_type)
|| uses_template_parms (index_type))
@@ -484,7 +476,6 @@ build_cplus_array_type_1 (elt_type, index_type)
= TYPE_NEEDS_CONSTRUCTING (TYPE_MAIN_VARIANT (elt_type));
TYPE_NEEDS_DESTRUCTOR (t)
= TYPE_NEEDS_DESTRUCTOR (TYPE_MAIN_VARIANT (elt_type));
- pop_obstacks ();
return t;
}