On Thu, 2020-01-02 at 10:04 +0100, Martin Liška wrote:
> Hi.
> 
> The patch is about using Optimization for warn_inline as
> it's affected by -O0.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/ChangeLog:
> 
> 2019-12-11  Martin Liska  <mli...@suse.cz>
> 
>       PR tree-optimization/92860
>       * common.opt: Make in Optimization option
>       as it is affected by -O0, which is an Optimization
>       option.
>       * tree-inline.c (tree_inlinable_function_p):
>       Use opt_for_fn for warn_inline.
>       (expand_call_inline): Likewise.
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-12-11  Martin Liska  <mli...@suse.cz>
> 
>       PR tree-optimization/92860
>       * gcc.dg/pr92860.c: New test.
OK
jeff


Reply via email to