aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-12-10 22:17:28 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2014-12-10 21:17:28 +0000
commit1e29e4d36f701712b541e989ff091d7a6ce1afcd (patch)
tree1431b495e7d6781af6da4f0b74dbc84b5cde4b77 /gcc/common.opt
parenta06478dd6c5f0e3fb334ab88adc4de7c6fd5789e (diff)
downloadgcc-1e29e4d36f701712b541e989ff091d7a6ce1afcd.zip
gcc-1e29e4d36f701712b541e989ff091d7a6ce1afcd.tar.gz
gcc-1e29e4d36f701712b541e989ff091d7a6ce1afcd.tar.bz2
invoke.texi: (-devirtualize-at-ltrans): Document.
* doc/invoke.texi: (-devirtualize-at-ltrans): Document. * lto-cgraph.c (lto_output_varpool_node): Mark initializer as removed when it is not streamed to the given ltrans. (compute_ltrans_boundary): Make code adding all polymorphic call targets conditional with !flag_wpa || flag_ltrans_devirtualize. * common.opt (fdevirtualize-at-ltrans): New flag. From-SVN: r218609
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 78b796b..3b8b14d 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1062,6 +1062,10 @@ fdelete-null-pointer-checks
Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
Delete useless null pointer checks
+fdevirtualize-at-ltrans
+Common Report Var(flag_ltrans_devirtualize)
+Perofrm extra streaming to support more agressive devirtualization at LTO ltrans stage.
+
fdevirtualize-speculatively
Common Report Var(flag_devirtualize_speculatively) Optimization
Perform speculative devirtualization