Bail out when ipa_fn_summaries does not contain entry for callee (PR ipa/88985).
authorMartin Liska <mliska@suse.cz>
Mon, 4 Feb 2019 12:26:14 +0000 (13:26 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 4 Feb 2019 12:26:14 +0000 (12:26 +0000)
commit64cd238b35cb8c96ef5be2e4775cb0e8aaa3e45f
tree7fc1c6fce596bcee8c826269f8e40b5615747592
parentfcd698d713c9864cd17b3df3272d0cc99d4a07fe
Bail out when ipa_fn_summaries does not contain entry for callee (PR ipa/88985).

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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr88958.c [deleted file]
gcc/testsuite/gcc.dg/ipa/pr88985.c [new file with mode: 0644]