This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Minor update for inlining for code size
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Oct 2012 20:10:35 +0100
- Subject: Re: Minor update for inlining for code size
- References: <20121029154613.GE25006@kam.mff.cuni.cz>
> Bootstrapped/regtested x86_64-linux, will commit it shortly.
>
> Honza
>
> * gcc.dg/ipa/inline-6.c: New testcase.
> * ipa-inline.c (want_inline_function_called_once_p): Rename to ...
> (want_inline_function_to_all_callers_p): check also functions with
> multiple callers.
> (ipa_inline): Handle inlining for size into multiple callers.
The entry for the testcase must go into testsuite/ChangeLog.
--
Eric Botcazou