re PR ipa/83619 (ICE in inliner: caller edge count does not match BB count)
authorJan Hubicka <hubicka@ucw.cz>
Thu, 18 Jan 2018 15:57:48 +0000 (16:57 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 18 Jan 2018 15:57:48 +0000 (15:57 +0000)
commit8b2d991b0390c1bae18b0af416b841f360184e22
treef1a5bfbdb2c85fd876a4e72f9deea404e93a5e4e
parent1f0267acfd4cc3d2582b41c7470e81fec9972a83
re PR ipa/83619 (ICE in inliner: caller edge count does not match BB count)

PR ipa/83619
* g++.dg/torture/pr83619.C: New testcase.
* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Update edge
frequencies.

From-SVN: r256850
gcc/ChangeLog
gcc/cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr83619.C [new file with mode: 0644]