Fix previous commit.
authorJan Hubicka <jh@suse.cz>
Sat, 4 Apr 2020 13:56:52 +0000 (15:56 +0200)
committerJan Hubicka <jh@suse.cz>
Sat, 4 Apr 2020 15:55:04 +0000 (17:55 +0200)
commit21e28527130a89491f848dfb5019afa01b252479
tree5d1c0d20faccb95a278fe3deae0164d32313cbba
parentf1ad7bac76b662577e3bde78c530954099361a66
Fix previous commit.

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.
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/testsuite/ChangeLog