summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 07:48:13 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 07:48:13 +0000
commit01cb9cf792422ba7809475a477e859cfa93d176d (patch)
treebb01706109f71a5e58004af1b340b038a77eb8d7 /gcc/common.opt
parent4dd4ac768fa98463bcb31e949d64c9b5a7120331 (diff)
downloadgcc-01cb9cf792422ba7809475a477e859cfa93d176d.tar.gz
* g++.dg/ipa/devirt-34.C: New testcase.
* ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets to speculative_targets (get_class_context): Fix handling of contextes without outer type; avoid matching non-polymorphic types in LTO. (possible_polymorphic_call_targets): Trun nonconstruction_targetsp parameter to speculative_targetsp; handle speculation. (dump_possible_polymorphic_call_targets): Update dumping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 3b04044e07e..927e0edf9a4 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -588,7 +588,7 @@ Wmissing-noreturn
Common Alias(Wsuggest-attribute=noreturn)
Wodr
-Common Var(warn_odr_violations) Warning
+Common Var(warn_odr_violations) Init(1) Warning
Warn about some C++ One Definition Rule violations during link time optimization
Woverflow