Hi,
this is fix I commit as obvious.

Index: ipa-inline.c
===================================================================
--- ipa-inline.c        (revision 276564)
+++ ipa-inline.c        (working copy)
@@ -396,7 +396,7 @@ can_inline_edge_p (struct cgraph_edge *e
 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, boo
 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)

Reply via email to