This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8387: [3.3 regression] -finline-limit behavior changed; new inlining flags need doc
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 11 Mar 2003 02:26:01 -0000
- Subject: Re: c/8387: [3.3 regression] -finline-limit behavior changed; new inlining flags need doc
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR c/8387; it has been noted by GNATS.
From: Daniel Jacobowitz <drow at mvista dot com>
To: pfeifer at dbai dot tuwien dot ac dot at, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org,
garloff at suse dot de, dalej at apple dot com
Cc:
Subject: Re: c/8387: [3.3 regression] -finline-limit behavior changed; new inlining flags need doc
Date: Mon, 10 Mar 2003 21:24:01 -0500
The patch for this has been committed to the 3.3 branch and HEAD now, right?
By this patch:
2003-03-06 Kurt Garloff <garloff at suse dot de>
Geoffrey Keating <geoffk at apple dot com>
Dale Johannesen <dalej at apple dot com>
* params.def: Introduce parameter max-inline-insns-rtl for
a separate limit for the RTL inliner.
* params.h: Likewise.
* integrate.c (function_cannot_inline_p): Use it.
* toplev.c (decode_f_option): Set multiple parameters
controlling inlining with -finline-limit.
* params.def: Fix orthographic and typographic errors.
* doc/invoke.texi: Document parameters controlling inlining
and the way -finline-limit sets multiple of them.
* tree.h (struct tree_decl): Introduce inlined_function_flag,
recording whether the function became eligible for inlining
by a compiler flag rather than the declaration.
Provide DID_INLINE_FUNC macro to access it.
* c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
* cp/decl.c (grokfndecl): Likewise.
* toplev.c (rest_of_compilation): Likewise.
* cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
* print-tree.c (print_node): Report it.
* params.def: Introduce new max-inline-insns-auto limit.
* params.h: Likewise.
* tree-inline.c (inlinable_function_p): Apply it to functions
with DID_INLINE_FUNC set.
* toplev.c (decode_f_option): Initialize it from -finline-limit
value.
* doc/invoke.texi: Document new parameter.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer