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 /include | |
parent | 4b794eaf73ef8df7689d1e9de146e00398f2d1fd (diff) | |
download | gcc-7973fd2aeddbdd9fc4595ef2d34fa57d1c3c75cb.tar.gz |
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 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 3122162f20a..abe0b1b1dd5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * libiberty.h (XOBFINISH): New. + 2005-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * libiberty.h (vsnprintf): Add format attribute. diff --git a/include/libiberty.h b/include/libiberty.h index a9a75eaa8ec..4b0d532db78 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -326,7 +326,7 @@ extern double physmem_available (void); /* Type-safe obstack allocator. */ #define XOBNEW(O, T) ((T *) obstack_alloc ((O), sizeof (T))) - +#define XOBFINISH(O, T) ((T) obstack_finish ((O))) /* hex character manipulation routines */ |