re PR bootstrap/83015 (bootstrap comparison failure on ia64)

PR bootstrap/83015
	* ipa-inline.c (inline_small_functions): Set current badnes correctly
	when skipping checking.

From-SVN: r255138
This commit is contained in:
Jan Hubicka 2017-11-24 12:24:55 +01:00 committed by Jan Hubicka
parent 4dae9c641b
commit f4118c878d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2017-11-24 Jan Hubicka <hubicka@ucw.cz>
PR bootstrap/83015
* ipa-inline.c (inline_small_functions): Set current badnes correctly
when skipping checking.
2017-11-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/83128

View File

@ -1865,6 +1865,8 @@ inline_small_functions (void)
gcc_assert (cached_badness == current_badness);
gcc_assert (current_badness >= badness);
}
else
current_badness = edge_badness (edge, false);
#else
current_badness = edge_badness (edge, false);
#endif