diff options
author | Teresa Johnson <tejohnson@google.com> | 2013-08-29 13:51:04 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@gcc.gnu.org> | 2013-08-29 13:51:04 +0000 |
commit | 103ff0d65e9033a2fdf05b4f4c9b7686d95e78c0 (patch) | |
tree | fc61cacb307eeb74176a0b795fc6db1199798047 /gcc/pass_manager.h | |
parent | 301bbc16628d9ca57cd7b0af306fde6753f04911 (diff) | |
download | gcc-103ff0d65e9033a2fdf05b4f4c9b7686d95e78c0.tar.gz |
dumpfile.c (dump_loc): Output column number.
2013-08-29 Teresa Johnson <tejohnson@google.com>
* 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
Diffstat (limited to 'gcc/pass_manager.h')
-rw-r--r-- | gcc/pass_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/pass_manager.h b/gcc/pass_manager.h index 41d2c7605d2..04c6237d791 100644 --- a/gcc/pass_manager.h +++ b/gcc/pass_manager.h @@ -74,6 +74,7 @@ public: return pass_mode_switching_1; } opt_pass *get_pass_peephole2 () const { return pass_peephole2_1; } + opt_pass *get_pass_profile () const { return pass_profile_1; } public: /* The root of the compilation pass tree, once constructed. */ |