From f4118c878d89d2105501f85ee63709497c4c7f15 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 24 Nov 2017 12:24:55 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/ipa-inline.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb6c0510535..92b355a73df 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-11-24 Jan Hubicka + + PR bootstrap/83015 + * ipa-inline.c (inline_small_functions): Set current badnes correctly + when skipping checking. + 2017-11-24 Richard Biener PR tree-optimization/83128 diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index c535a9ab7d6..8f12aa16687 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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