aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/lex.c')
-rw-r--r--gcc/f/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/lex.c b/gcc/f/lex.c
index 031c39e..4c90f26 100644
--- a/gcc/f/lex.c
+++ b/gcc/f/lex.c
@@ -1317,7 +1317,7 @@ ffelex_hash_ (FILE *finput)
lineno = l;
if (ffelex_kludge_flag_)
- input_filename = ggc_alloc_string (ffelex_token_text (token), -1);
+ input_filename = ggc_strdup (ffelex_token_text (token));
else
{
wf = ffewhere_file_new (ffelex_token_text (token),