This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR middle-end/68002: introduce -fkeep-static-functions


On Sat, Oct 17, 2015 at 5:17 PM, VandeVondele  Joost
<joost.vandevondele@mat.ethz.ch> wrote:
> In some cases (e.g. coverage testing) it is useful to emit code for static functions even if they are never used, which currently is not possible at -O1 and above. The following patch introduces a flag for this, which basically triggers the same code that keeps those functions alive at -O0. Thanks to Marc Glisse for replying at gcc-help and for suggesting where to look.
>
> Bootstrapped and regtested on x86_64-unknown-linux-gnu
>
> OK for trunk ?

Ok.

Thanks,
Richard.

> Joost


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]