2019-02-04 Martin Liska <mliska@suse.cz>
PR ipa/88958
* 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.
From-SVN: r268516
+2019-02-04 Martin Liska <mliska@suse.cz>
+
+ PR ipa/88958
+ * ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail
+ out when ipa_fn_summaries does not contain entry for callee.
+
2019-02-04 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.h: Remove superfluous blank lines.
if (avail < AVAIL_AVAILABLE)
return false;
isummary = ipa_fn_summaries->get (callee);
+ if (isummary == NULL)
+ return false;
+
return isummary->inlinable;
}
+2019-02-04 Martin Liska <mliska@suse.cz>
+
+ PR ipa/88958
+ * gcc.dg/ipa/pr88958.c: New test.
+
2019-02-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/debug/dwarf2/inline5.c: Handle also @, ; or | comment
--- /dev/null
+void f (void)
+{
+}
+__attribute__((__optimize__("O2")))
+void g (void f())
+{
+ f();
+}
+__attribute__((__optimize__("O2")))
+void h (void)
+{
+ g(f);
+}