Do not ICE in IPA inliner.
authorMartin Liska <mliska@suse.cz>
Wed, 23 Oct 2019 08:55:05 +0000 (10:55 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 23 Oct 2019 08:55:05 +0000 (08:55 +0000)
commitae94bb0ee262e43ee391513210311594abf84e07
treefb59de24c7ed6479093ffb4822f3e662885b2ab5
parentf99d62629933adf91e7e0bc1b1ff344ffb68e1a2
Do not ICE in IPA inliner.

2019-10-23  Martin Liska  <mliska@suse.cz>

PR ipa/91969
* ipa-inline.c (recursive_inlining): Do not print
when curr->count is not initialized.
2019-10-23  Martin Liska  <mliska@suse.cz>

PR ipa/91969
* g++.dg/ipa/pr91969.C: New test.

From-SVN: r277309
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr91969.C [new file with mode: 0644]