]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/83015 (bootstrap comparison failure on ia64)
authorJan Hubicka <hubicka@ucw.cz>
Fri, 24 Nov 2017 11:24:55 +0000 (12:24 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 24 Nov 2017 11:24:55 +0000 (11:24 +0000)
PR bootstrap/83015
* ipa-inline.c (inline_small_functions): Set current badnes correctly
when skipping checking.

From-SVN: r255138

gcc/ChangeLog
gcc/ipa-inline.c

index cb6c0510535f2a9603b421af7af2ba3724e623a7..92b355a73dfc340b3b423a36ad640b896fd3d956 100644 (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
index c535a9ab7d6bc9f451e4b43ac9971f0866ab7cb0..8f12aa16687656a70f6b45e70cd7f9b6a633e698 100644 (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