diff options
author | Martin Jambor <mjambor@suse.cz> | 2011-01-15 00:19:08 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2011-01-15 00:19:08 +0100 |
commit | 05842ff57c6eb899ffb7bfd6624634f5aa4df878 (patch) | |
tree | 59421812ee885d513e8c87c7fb099f042a10672d /gcc/common.opt | |
parent | f65cf2b706151e0310518eef48bab95cf8155c3c (diff) | |
download | gcc-05842ff57c6eb899ffb7bfd6624634f5aa4df878.zip gcc-05842ff57c6eb899ffb7bfd6624634f5aa4df878.tar.gz gcc-05842ff57c6eb899ffb7bfd6624634f5aa4df878.tar.bz2 |
common.opt (fdevirtualize): New flag.
2011-01-15 Martin Jambor <mjambor@suse.cz>
* common.opt (fdevirtualize): New flag.
* doc/invoke.texi (Option Summary): Document it.
* opts.c (default_options_table): Add devirtualize flag.
* ipa-prop.c (detect_type_change): Return immediately if
devirtualize flag is not set.
(detect_type_change_ssa): Likewise.
(compute_known_type_jump_func): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.
From-SVN: r168826
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 32df6fc..7c93c83 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -911,6 +911,10 @@ fdelete-null-pointer-checks Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization Delete useless null pointer checks +fdevirtualize +Common Report Var(flag_devirtualize) Optimization +Try to convert virtual calls to direct ones. + fdiagnostics-show-location= Common Joined RejectNegative Enum(diagnostic_prefixing_rule) -fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics |