Commit f4118c87 by Jan Hubicka Committed by Jan Hubicka

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
parent 4dae9c64
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> 2017-11-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/83128 PR tree-optimization/83128
...@@ -1865,6 +1865,8 @@ inline_small_functions (void) ...@@ -1865,6 +1865,8 @@ inline_small_functions (void)
gcc_assert (cached_badness == current_badness); gcc_assert (cached_badness == current_badness);
gcc_assert (current_badness >= badness); gcc_assert (current_badness >= badness);
} }
else
current_badness = edge_badness (edge, false);
#else #else
current_badness = edge_badness (edge, false); current_badness = edge_badness (edge, false);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment