* ipa-devirt.c (ipa_devirt): Enable with LTO.
authorJan Hubicka <jh@suse.cz>
Tue, 10 Sep 2013 21:41:38 +0000 (23:41 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 10 Sep 2013 21:41:38 +0000 (21:41 +0000)
From-SVN: r202482

gcc/ChangeLog
gcc/ipa-devirt.c

index 78282ea70e2e915bf030fad32435ef35267f1983..d4d32e1800a8770349db76770646394128af0e7d 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-10  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-devirt.c (ipa_devirt): Enable with LTO.
+
 2013-09-10  Richard Earnshaw  <rearnsha@arm.com>
 
        PR target/58361
index 96622b25b1bdf1b7455819fbf5e38be605a06d79..1be19f89d0510fa055f9282810648ab1f8b341cf 100644 (file)
@@ -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 {