diff options
author | Sharad Singhai <singhai@google.com> | 2012-11-01 07:34:44 +0000 |
---|---|---|
committer | Sharad Singhai <singhai@gcc.gnu.org> | 2012-11-01 07:34:44 +0000 |
commit | 2b4e6bf1d556f89711726eaa02b125ed6f39a82f (patch) | |
tree | 47725ebeed1bb76102194e7ca04ca401b8d512ff /gcc/loop-init.c | |
parent | c3a76b2f482f048a577cc4251184748d8ef27157 (diff) | |
download | gcc-2b4e6bf1d556f89711726eaa02b125ed6f39a82f.zip gcc-2b4e6bf1d556f89711726eaa02b125ed6f39a82f.tar.gz gcc-2b4e6bf1d556f89711726eaa02b125ed6f39a82f.tar.bz2 |
invoke.texi: Update -fopt-info documentation.
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.
From-SVN: r193061
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r-- | gcc/loop-init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c index 438c66e..f140686 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -189,6 +189,7 @@ struct rtl_opt_pass pass_loop2 = { RTL_PASS, "loop2", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ gate_handle_loop2, /* gate */ NULL, /* execute */ NULL, /* sub */ @@ -225,6 +226,7 @@ struct rtl_opt_pass pass_rtl_loop_init = { RTL_PASS, "loop2_init", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ NULL, /* gate */ rtl_loop_init, /* execute */ NULL, /* sub */ @@ -265,6 +267,7 @@ struct rtl_opt_pass pass_rtl_loop_done = { RTL_PASS, "loop2_done", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ NULL, /* gate */ rtl_loop_done, /* execute */ NULL, /* sub */ @@ -301,6 +304,7 @@ struct rtl_opt_pass pass_rtl_move_loop_invariants = { RTL_PASS, "loop2_invariant", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ gate_rtl_move_loop_invariants, /* gate */ rtl_move_loop_invariants, /* execute */ NULL, /* sub */ @@ -337,6 +341,7 @@ struct rtl_opt_pass pass_rtl_unswitch = { RTL_PASS, "loop2_unswitch", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ gate_rtl_unswitch, /* gate */ rtl_unswitch, /* execute */ NULL, /* sub */ @@ -385,6 +390,7 @@ struct rtl_opt_pass pass_rtl_unroll_and_peel_loops = { RTL_PASS, "loop2_unroll", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ gate_rtl_unroll_and_peel_loops, /* gate */ rtl_unroll_and_peel_loops, /* execute */ NULL, /* sub */ @@ -426,6 +432,7 @@ struct rtl_opt_pass pass_rtl_doloop = { RTL_PASS, "loop2_doloop", /* name */ + OPTGROUP_LOOP, /* optinfo_flags */ gate_rtl_doloop, /* gate */ rtl_doloop, /* execute */ NULL, /* sub */ |