diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2005-06-06 21:14:31 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-06-06 21:14:31 +0000 |
commit | 7973fd2aeddbdd9fc4595ef2d34fa57d1c3c75cb (patch) | |
tree | de88f6962c15670e120cf115d8582da8df7bd7b9 /gcc/c-lex.c | |
parent | 4b794eaf73ef8df7689d1e9de146e00398f2d1fd (diff) | |
download | gcc-7973fd2aeddbdd9fc4595ef2d34fa57d1c3c75cb.zip gcc-7973fd2aeddbdd9fc4595ef2d34fa57d1c3c75cb.tar.gz gcc-7973fd2aeddbdd9fc4595ef2d34fa57d1c3c75cb.tar.bz2 |
libiberty.h (XOBFINISH): New.
libiberty/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (XOBFINISH): New.
gcc/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-lex.c (lex_string): Use XOBFINISH.
* collect2.c (extract_string, dump_file): Likewise.
* dbxout.c (dbxout_finish_complex_stabs): Likewise.
* gcc.c (init_spec, build_search_list, convert_filename,
set_collect_gcc_options, do_spec_2, do_spec_1, main):
* Likewise.
* genpreds.c (write_predicate_subfunction): Likewise.
* genflags.c (main): Likewise.
* read-rtl.c (mode_attr_index, apply_macro_to_string,
join_c_conditions, read_quoted_string, read_braced_string,
read_rtx_1): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* tlink.c (obstack_fgets, recompile_files): Likewise.
From-SVN: r100678
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 052c3f6..3282dd1 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -762,7 +762,7 @@ lex_string (const cpp_token *tok, tree *valp, bool objc_string) /* We have read one more token than we want. */ _cpp_backup_tokens (parse_in, 1); if (concats) - strs = (cpp_string *) obstack_finish (&str_ob); + strs = XOBFINISH (&str_ob, cpp_string *); if (concats && !objc_string && !in_system_header) warning (OPT_Wtraditional, |