summaryrefslogtreecommitdiff
path: root/gcc/ipa-devirt.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-10 21:41:38 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-10 21:41:38 +0000
commit702cd71e64bacfa0a6bbf34d2b2ee8cd888c4b40 (patch)
treeb54e75848fda44618afc3e73b78bacabdcc6c0d1 /gcc/ipa-devirt.c
parenta52240efe87bb88eae4747f1dee882fab5091c0e (diff)
downloadgcc-702cd71e64bacfa0a6bbf34d2b2ee8cd888c4b40.tar.gz
* ipa-devirt.c (ipa_devirt): Enable with LTO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-devirt.c')
-rw-r--r--gcc/ipa-devirt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 96622b25b1b..1be19f89d05 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -1128,7 +1128,7 @@ ipa_devirt (void)
static bool
gate_ipa_devirt (void)
{
- return flag_devirtualize_speculatively && !in_lto_p && optimize;
+ return flag_devirtualize_speculatively && optimize;
}
namespace {