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 e71cf12..2cb6721 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -2522,19 +2522,10 @@ build_srcloc (file, line)
{
tree t;
- /* Make sure that we put these on the permanent obstack; up in
- add_pending_template, we pass this return value into perm_tree_cons,
- which also puts it on the permanent_obstack. However, this wasn't
- explicitly doing the same. */
- register struct obstack *ambient_obstack = current_obstack;
- current_obstack = &permanent_obstack;
-
t = make_node (SRCLOC);
SRCLOC_FILE (t) = file;
SRCLOC_LINE (t) = line;
- current_obstack = ambient_obstack;
-
return t;
}