From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12541 invoked by alias); 11 Mar 2003 02:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 12522 invoked by uid 71); 11 Mar 2003 02:26:01 -0000 Date: Tue, 11 Mar 2003 02:26:00 -0000 Message-ID: <20030311022601.12518.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Daniel Jacobowitz Subject: Re: c/8387: [3.3 regression] -finline-limit behavior changed; new inlining flags need doc Reply-To: Daniel Jacobowitz X-SW-Source: 2003-03/txt/msg00526.txt.bz2 List-Id: The following reply was made to PR c/8387; it has been noted by GNATS. From: Daniel Jacobowitz To: pfeifer@dbai.tuwien.ac.at, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, garloff@suse.de, dalej@apple.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 Geoffrey Keating Dale Johannesen * 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