From: Jan Hubicka Date: Fri, 4 Oct 2019 19:10:39 +0000 (+0200) Subject: * ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9af0d5ef3b14a9b3e4b0cb6aaaaba44ea722fb06;p=gcc.git * ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo. From-SVN: r276597 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6da73b6f57e..3c964970046 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-10-04 Jan Hubicka + + * ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo. + 2019-10-04 Rafael Tsuha * match.pd (sinh (x) / cosh (x)): New simplification rule. diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 725e6750aac..2801cb9f82d 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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)