]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gengtype.c
Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to dependencies.
authorLaurynas Biveinis <laurynas.biveinis@gmail.com>
Wed, 5 May 2010 10:06:37 +0000 (10:06 +0000)
committerLaurynas Biveinis <lauras@gcc.gnu.org>
Wed, 5 May 2010 10:06:37 +0000 (10:06 +0000)
commit0277fabf2b92ed6e94812a8bd0dba50fd0214836
tree8f252db5124c621e3a820083e4b797d0ce217e79
parentb0576159e4a7cbc6a20bcd047357f6ecd44c68cc
Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to dependencies.

2010-05-05  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

* Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to
dependencies.

* gengtype.h (erro_at_line): Constify pos argument.

* gengtype.c: Include hashtab.h.
(enum gc_used): Document GC_MAYBE_POINTED_TO.
(error_at_line): Constify pos argument.
(do_typedef): Initialize p->opt field.
(get_file_gtfilename): Fix comment typo.
(struct walk_type_data): Constify line field.
(get_output_file_for_structure): New function.
(write_local_func_for_structure): Constify orig_s argument.
Use get_output_file_for_structure.
(write_func_for_structure): Use get_output_file_for_structure.
(INDENT): New define.
(dump_pair, dump_type, dump_type_list, dump_typekind)
(dump_gc_used, dump_options, dump_fileloc, dump_type_u_s)
(dump_type_u_a, dump_type_u_param_struct, dump_everything): New
functions.
(seen_types): New variable.
(main): New variable do_dump.  Process "-d" command line option.
Call dump_everything if dump requested.

From-SVN: r159060
gcc/ChangeLog
gcc/Makefile.in
gcc/gengtype.c
gcc/gengtype.h