gcc/ChangeLog:
2020-04-04 Jan Hubicka <hubicka@ucw.cz>
PR ipa/93940
* ipa-fnsummary.c (vrp_will_run_p): New function.
(fre_will_run_p): New function.
(evaluate_properties_for_edge): Use it.
* ipa-inline.c (can_inline_edge_by_limits_p): Do not inline
!optimize_debug to optimize_debug.
gcc/testsuite/ChangeLog:
2020-04-04 Jan Hubicka <hubicka@ucw.cz>
* g++.dg/tree-ssa/pr93940.C: New test.
+2020-04-04 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/93940
+ * ipa-fnsummary.c (vrp_will_run_p): New function.
+ (fre_will_run_p): New function.
+ (evaluate_properties_for_edge): Use it.
+ * ipa-inline.c (can_inline_edge_by_limits_p): Do not inline
+ !optimize_debug to optimize_debug.
+
2020-04-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/94468
}
/* Determine known aggregate values. */
- if (vrp_will_run_p (caller))
+ if (fre_will_run_p (caller))
{
ipa_agg_value_set agg
= ipa_agg_value_set_from_jfunc (caller_parms_info,
+2020-04-04 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/93940
+ * g++.dg/tree-ssa/pr93940.C: New test.
+
2020-04-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/94468