gcc/ChangeLog:
2019-01-24 Martin Liska <mliska@suse.cz>
PR ipa/88985
* ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail
out when ipa_fn_summaries does not contain entry for callee.
gcc/testsuite/ChangeLog:
2019-01-24 Martin Liska <mliska@suse.cz>
PR ipa/88985
* gcc.dg/ipa/pr88985.c: New test.
From-SVN: r268518
2019-02-04 Martin Liska <mliska@suse.cz>
- PR ipa/88958
+ PR ipa/88985
* ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail
out when ipa_fn_summaries does not contain entry for callee.
2019-02-04 Martin Liska <mliska@suse.cz>
- PR ipa/88958
- * gcc.dg/ipa/pr88958.c: New test.
+ PR ipa/88985
+ * gcc.dg/ipa/pr88985.c: New test.
2019-02-04 Jakub Jelinek <jakub@redhat.com>
+++ /dev/null
-void f (void)
-{
-}
-__attribute__((__optimize__("O2")))
-void g (void f())
-{
- f();
-}
-__attribute__((__optimize__("O2")))
-void h (void)
-{
- g(f);
-}
--- /dev/null
+void f (void)
+{
+}
+__attribute__((__optimize__("O2")))
+void g (void f())
+{
+ f();
+}
+__attribute__((__optimize__("O2")))
+void h (void)
+{
+ g(f);
+}