Commit 5bbcb888 by Jan Hubicka Committed by Jan Hubicka

* ipa-devirt.c (ipa_devirt): Enable with LTO.

From-SVN: r202482
parent db7ca3c0
2013-09-10 Jan Hubicka <jh@suse.cz>
* ipa-devirt.c (ipa_devirt): Enable with LTO.
2013-09-10 Richard Earnshaw <rearnsha@arm.com> 2013-09-10 Richard Earnshaw <rearnsha@arm.com>
PR target/58361 PR target/58361
......
...@@ -1128,7 +1128,7 @@ ipa_devirt (void) ...@@ -1128,7 +1128,7 @@ ipa_devirt (void)
static bool static bool
gate_ipa_devirt (void) gate_ipa_devirt (void)
{ {
return flag_devirtualize_speculatively && !in_lto_p && optimize; return flag_devirtualize_speculatively && optimize;
} }
namespace { namespace {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment