From 1a81741814618bc19d13de0b9e59c0324114cc86 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 17 May 2017 11:01:36 +0200 Subject: Introduce dump_flags_t type and use it instead of int type. 2017-05-17 Martin Liska * class.c (dump_class_hierarchy): Introduce dump_flags_t type and use it instead of int type. (dump_vtable): Likewise. (dump_vtt): Likewise. * decl2.c (dump_tu): Likewise. 2017-05-17 Martin Liska * c-common.h: Introduce dump_flags_t type and use it instead of int type. * c-gimplify.c (c_genericize): Likewise. * c-opts.c: Likewise. 2017-05-17 Martin Liska * c-decl.c (c_parse_final_cleanups): Introduce dump_flags_t type and use it instead of int type. 2017-05-17 Martin Liska * cfg.c: Introduce dump_flags_t type and use it instead of int type. * cfg.h: Likewise. * cfghooks.c: Likewise. * cfghooks.h (struct cfg_hooks): Likewise. * cfgrtl.c: Likewise. * cfgrtl.h: Likewise. * cgraph.c (cgraph_node::get_body): Likewise. * coretypes.h: Likewise. * domwalk.c: Likewise. * domwalk.h: Likewise. * dumpfile.c (struct dump_option_value_info): Likewise. (dump_enable_all): Likewise. (dump_switch_p_1): Likewise. (opt_info_switch_p): Likewise. * dumpfile.h (enum tree_dump_index): Likewise. (struct dump_file_info): Likewise. * genemit.c: Likewise. * generic-match-head.c: Likewise. * gengtype.c (open_base_files): Likewise. * gimple-pretty-print.c: Likewise. * gimple-pretty-print.h: Likewise. * graph.c (print_graph_cfg): Likewise. * graphite-scop-detection.c (dot_all_sese): Likewise. * ipa-devirt.c (build_type_inheritance_graph): Likewise. * loop-unroll.c (report_unroll): Likewise. * passes.c (pass_manager::register_one_dump_file): Likewise. * print-tree.c: Likewise. * statistics.c: Likewise. * tree-cfg.c: Likewise. * tree-cfg.h: Likewise. * tree-dfa.c: Likewise. * tree-dfa.h: Likewise. * tree-dump.c (dump_function): Likewise. * tree-dump.h (struct dump_info): Likewise. * tree-pretty-print.c: Likewise. * tree-pretty-print.h: Likewise. * tree-ssa-live.c: Likewise. * tree-ssa-live.h: Likewise. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. * tree-vect-loop.c: Likewise. * tree-vect-slp.c: Likewise. From-SVN: r248140 --- gcc/c/ChangeLog | 5 +++++ gcc/c/c-decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/c') diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 9e4ec43..e0c1e99 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2017-05-17 Martin Liska + + * c-decl.c (c_parse_final_cleanups): Introduce dump_flags_t type and + use it instead of int type. + 2017-05-17 Marek Polacek * c-convert.c (convert): Replace c_save_expr with save_expr. Don't diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index 8ae09c4..5b4bb49 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -11243,7 +11243,7 @@ c_parse_final_cleanups (void) if (ext_block) { tree tmp = BLOCK_VARS (ext_block); - int flags; + dump_flags_t flags; FILE * stream = dump_begin (TDI_tu, &flags); if (stream && tmp) { -- cgit v1.1