From: lauras Date: Wed, 5 May 2010 10:06:37 +0000 (+0000) Subject: 2010-05-05 Laurynas Biveinis X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=36e149df6211b3502b3712e66ea38020ebc6720c;p=pf3gnuchains%2Fgcc-fork.git 2010-05-05 Laurynas Biveinis * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159060 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cf2cc5beb2..12bc380fa40 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,29 @@ +2010-05-05 Laurynas Biveinis + + * 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. + 2010-05-05 Jakub Jelinek * var-tracking.c (var_debug_decl): Save DECL_DEBUG_EXPR value diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 7c42b7ca850..ce6e3a1dc3e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3721,7 +3721,7 @@ build/gengtype-lex.o : gengtype-lex.c gengtype.h $(BCONFIG_H) $(SYSTEM_H) build/gengtype-parse.o : gengtype-parse.c gengtype.h $(BCONFIG_H) \ $(SYSTEM_H) build/gengtype.o : gengtype.c $(BCONFIG_H) $(SYSTEM_H) gengtype.h \ - rtl.def insn-notes.def errors.h double-int.h + rtl.def insn-notes.def errors.h double-int.h $(HASHTAB_H) build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ $(GTM_H) $(RTL_BASE_H) errors.h gensupport.h build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \