diff options
author | singhai <singhai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-01 07:34:44 +0000 |
---|---|---|
committer | singhai <singhai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-01 07:34:44 +0000 |
commit | c78757312e5dfd44ed98f349711940e09d0bc84d (patch) | |
tree | 47725ebeed1bb76102194e7ca04ca401b8d512ff /gcc/bb-reorder.c | |
parent | af427fc5dbbe95978f0c54cbb4af3e5e10824979 (diff) | |
download | gcc-c78757312e5dfd44ed98f349711940e09d0bc84d.tar.gz |
2012-11-01 Sharad Singhai <singhai@google.com>
* doc/invoke.texi: Update -fopt-info documentation.
* dumpfile.c: Move dump_flags here from passes.c.
Rename opt_info_options to optinfo_verbosity_options.
Add optgroup_options.
(dump_files): Add field for optinfo_flags in the static initializer.
(dump_register): Handle additional parameter for optgroup_flags.
(opt_info_enable_passes): Renamed opt_info_enable_all. Handle
optgroup_flags. Fix documentation.
(opt_info_switch_p_1): Handle optgroup options.
(opt_info_switch_p): Handle optgroup_flags. Warn on multiple files.
* dumpfile.h (dump_register): Additional argument for optgroup_flags.
All callers updated.
(struct dump_file_info): Add field for optgroup_flags.
Define OPTGROUP_* flags.
* tree-pass.h (struct opt_pass): Add addtional field for optinfo_flags.
All opt_pass static initializers updated.
* opts-global.c (dump_remap_tree_vectorizer_verbose): Use 'all'
instead of 'optall'.
(handle_common_deferred_options): Fix typo in error message.
* passes.c (register_one_dump_file): Add argument for optgroup_flags.
Turn on OPTGROUP_IPA for IPA passes.
Move dump_flags from here to dumpfile.c.
* statistics.c (statistics_early_init): Use OPTGROUP_NONE in call to
dump_register.
testsuite/ChangeLog
* testsuite/gcc.dg/plugin/selfassign.c: Add opgtroup_flags initializer.
* testsuite/gcc.dg/plugin/one_time_plugin.c: Likewise.
* testsuite/g++.dg/plugin/selfassign.c: Likewise.
* testsuite/g++.dg/plugin/dumb_plugin.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 6c6b456ab7c..fd353f675c8 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -2234,6 +2234,7 @@ struct rtl_opt_pass pass_reorder_blocks = { RTL_PASS, "bbro", /* name */ + OPTGROUP_NONE, /* optinfo_flags */ gate_handle_reorder_blocks, /* gate */ rest_of_handle_reorder_blocks, /* execute */ NULL, /* sub */ @@ -2376,6 +2377,7 @@ struct rtl_opt_pass pass_duplicate_computed_gotos = { RTL_PASS, "compgotos", /* name */ + OPTGROUP_NONE, /* optinfo_flags */ gate_duplicate_computed_gotos, /* gate */ duplicate_computed_gotos, /* execute */ NULL, /* sub */ @@ -2579,6 +2581,7 @@ struct rtl_opt_pass pass_partition_blocks = { RTL_PASS, "bbpart", /* name */ + OPTGROUP_NONE, /* optinfo_flags */ gate_handle_partition_blocks, /* gate */ partition_hot_cold_basic_blocks, /* execute */ NULL, /* sub */ |