re PR ipa/92421 (ICE in inline_small_functions, at ipa-inline.c:2001 since r277759)
authorJan Hubicka <hubicka@ucw.cz>
Wed, 13 Nov 2019 21:02:11 +0000 (22:02 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 13 Nov 2019 21:02:11 +0000 (21:02 +0000)
commitb914768c1968d924d77bbe3f4e707c6105f3682c
tree8f86df5d2117969032167f987ff195a4f553fe26
parent7b34a284cab5d533552c1df995a88f7167d243bd
re PR ipa/92421 (ICE in inline_small_functions, at ipa-inline.c:2001 since r277759)

PR c++/92421
* ipa-prop.c (update_indirect_edges_after_inlining):
Mark parameter as used.
* ipa-inline.c (recursive_inlining): Reset node cache
after inlining.
(inline_small_functions): Remove checking ifdef.
* ipa-inline-analysis.c (do_estimate_edge_time): Verify
cache consistency.
* g++.dg/torture/pr92421.C: New testcase.

From-SVN: r278159
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr92421.C [new file with mode: 0644]