diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2000-01-25 17:13:14 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-01-25 17:13:14 +0000 |
commit | 4dd7201eac0b2f44f0f5b91dc2150a68aff5e389 (patch) | |
tree | e3f4e1a3212b662d8c287e2abd1a0473dd49789b /gcc/c-lex.c | |
parent | b5031ab715c5dcae4a61492da51b796934647f16 (diff) | |
download | gcc-4dd7201eac0b2f44f0f5b91dc2150a68aff5e389.zip gcc-4dd7201eac0b2f44f0f5b91dc2150a68aff5e389.tar.gz gcc-4dd7201eac0b2f44f0f5b91dc2150a68aff5e389.tar.bz2 |
c-common.c, [...]: Remove all references to obstack functions obsoleted by GC...
* c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
c-typeck.c, objc/objc-act.c: Remove all references to obstack
functions obsoleted by GC, such as push_obstacks_nochange,
end_temporary_allocation, savealloc, saveable_tree_cons, etc.
and code which existed only to decide whether or not to call
them. Remove now-unused NESTED argument from start_function;
all callers changed. Do not change behavior based on ggc_p.
The use of the ixp_obstack in c-iterate.c and the util_obstack
in objc/objc-act.c remain; these are not obsoleted by garbage
collection.
* c-tree.h: Update prototype for start_function.
* c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
From-SVN: r31611
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index b9d2793..a69aa07 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -759,14 +759,7 @@ linenum: goto skipline; } - 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); if (main_input_filename == 0) main_input_filename = input_filename; |