aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index bcadd93..49dd728 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -2552,14 +2552,7 @@ linenum:
body_time = this_time;
}
- if (! ggc_p && !TREE_PERMANENT (yylval.ttype))
- {
- input_filename
- = (char *) permalloc (TREE_STRING_LENGTH (yylval.ttype) + 1);
- strcpy (input_filename, TREE_STRING_POINTER (yylval.ttype));
- }
- else
- input_filename = TREE_STRING_POINTER (yylval.ttype);
+ input_filename = TREE_STRING_POINTER (yylval.ttype);
GNU_xref_file (input_filename);