* ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 4 Oct 2019 19:10:39 +0000 (21:10 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 4 Oct 2019 19:10:39 +0000 (19:10 +0000)
From-SVN: r276597

gcc/ChangeLog
gcc/ipa-inline.c

index 6da73b6..3c96497 100644 (file)
@@ -1,3 +1,7 @@
+2019-10-04  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo.
+
 2019-10-04  Rafael Tsuha  <rafael.tsuha@usp.br>
 
         * match.pd (sinh (x) / cosh (x)): New simplification rule.
index 725e675..2801cb9 100644 (file)
@@ -396,7 +396,7 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
 static int
 inline_insns_single (cgraph_node *n, bool hint)
 {
-  if (opt_for_fn (n->decl, optimize >= 3))
+  if (opt_for_fn (n->decl, optimize) >= 3)
     {
       if (hint)
        return PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE)
@@ -418,7 +418,7 @@ inline_insns_single (cgraph_node *n, bool hint)
 static int
 inline_insns_auto (cgraph_node *n, bool hint)
 {
-  if (opt_for_fn (n->decl, optimize >= 3))
+  if (opt_for_fn (n->decl, optimize) >= 3)
     {
       if (hint)
        return PARAM_VALUE (PARAM_MAX_INLINE_INSNS_AUTO)