From 103ff0d65e9033a2fdf05b4f4c9b7686d95e78c0 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Thu, 29 Aug 2013 13:51:04 +0000 Subject: dumpfile.c (dump_loc): Output column number. 2013-08-29 Teresa Johnson * dumpfile.c (dump_loc): Output column number. * dumpfile.h (OPTGROUP_OTHER): Add and enable under OPTGROUP_ALL. * doc/invoke.texi: Document optall -fopt-info flag. * profile.c (read_profile_edge_counts): Use new dump framework. (compute_branch_probabilities): Ditto. * passes.c (pass_manager::register_one_dump_file): Use OPTGROUP_OTHER when pass not in any opt group. * pass_manager.h (pass_manager::get_pass_profile): New method. * value-prof.c (check_counter): Use new dump framework. (check_ic_target): Ditto. * coverage.c (get_coverage_counts): Ditto. (coverage_init): Setup new dump framework. * testsuite/gcc.dg/pr40209.c: Use -fopt-info. * testsuite/gcc.dg/pr26570.c: Ditto. * testsuite/gcc.dg/pr32773.c: Ditto. * testsuite/g++.dg/tree-ssa/dom-invalid.C: Ditto. * testsuite/gcc.dg/inline-dump.c: New test. From-SVN: r202077 --- gcc/dumpfile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/dumpfile.h') diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index da079ba..ddc770a 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -98,8 +98,9 @@ enum tree_dump_index #define OPTGROUP_LOOP (1 << 2) /* Loop optimization passes */ #define OPTGROUP_INLINE (1 << 3) /* Inlining passes */ #define OPTGROUP_VEC (1 << 4) /* Vectorization passes */ +#define OPTGROUP_OTHER (1 << 5) /* All other passes */ #define OPTGROUP_ALL (OPTGROUP_IPA | OPTGROUP_LOOP | OPTGROUP_INLINE \ - | OPTGROUP_VEC) + | OPTGROUP_VEC | OPTGROUP_OTHER) /* Define a tree dump switch. */ struct dump_file_info -- cgit v1.1