diff options
author | Martin Liska <mliska@suse.cz> | 2017-05-18 16:23:46 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-05-18 14:23:46 +0000 |
commit | 8264c84d54602b4ced60ec0a969b58b2c9c5a944 (patch) | |
tree | 96265d1dfbd547ed2dbc558b16dd61ca13fc7362 /gcc/loop-unroll.c | |
parent | 671d5bcb262855ea7193f8349f38a15c388fcb6f (diff) |
Transform TDF_{lang,tree,ipa,rtl} to dump_kind enum.
2017-05-18 Martin Liska <mliska@suse.cz>
* cfgrtl.c (rtl_verify_edges): Remove usage of TDF_RTL.
* dumpfile.c (dump_register): Use new enum dump_kind.
(get_dump_file_name): Likewise.
(dump_enable_all): Likewise.
(dump_switch_p_1): Likewise.
(enable_rtl_dump_file): Remove usage of TDF_RTL.
* dumpfile.h (enum dump_kind): New enum type.
(struct dump_file_info): Create constructor and
format fields and comments.
* passes.c (pass_manager::register_one_dump_file):
Use num dump_kind.
* statistics.c (statistics_early_init): Likewise.
* tree-ssa-loop-prefetch.c (dump_mem_details): Replace
TDF_TREE with TDF_SLIM.
(gather_memory_references_ref): Likewise.
From-SVN: r248206
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index e2b6add6d41..5feaa8c20cb 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -191,7 +191,7 @@ static rtx get_expansion (struct var_to_expand *); static void report_unroll (struct loop *loop, location_t locus) { - dump_flags_t report_flags = MSG_OPTIMIZED_LOCATIONS | TDF_RTL | TDF_DETAILS; + dump_flags_t report_flags = MSG_OPTIMIZED_LOCATIONS | TDF_DETAILS; if (loop->lpt_decision.decision == LPT_NONE) return; @@ -223,7 +223,7 @@ decide_unrolling (int flags) location_t locus = get_loop_location (loop); if (dump_enabled_p ()) - dump_printf_loc (TDF_RTL, locus, + dump_printf_loc (MSG_NOTE, locus, ";; *** Considering loop %d at BB %d for " "unrolling ***\n", loop->num, loop->header->index); |