summaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-06 21:14:31 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-06 21:14:31 +0000
commit4fac984f6f765f7ca782ceacaad4b7d73ef0018a (patch)
treede88f6962c15670e120cf115d8582da8df7bd7b9 /gcc/genflags.c
parent380c66974cee2bb4a5281c8c11f3632bb21118e5 (diff)
downloadgcc-4fac984f6f765f7ca782ceacaad4b7d73ef0018a.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100678 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genflags.c')
-rw-r--r--gcc/genflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index a52e18a9def..0710b4a4667 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -267,7 +267,7 @@ main (int argc, char **argv)
/* Print out the prototypes now. */
dummy = (rtx) 0;
obstack_grow (&obstack, &dummy, sizeof (rtx));
- insns = (rtx *) obstack_finish (&obstack);
+ insns = XOBFINISH (&obstack, rtx *);
for (insn_ptr = insns; *insn_ptr; insn_ptr++)
gen_proto (*insn_ptr);