PING^1

On 9/12/18 2:39 PM, Martin Liška wrote:
> Hi.
> 
> This is follow-up of:
> https://gcc.gnu.org/ml/gcc/2018-08/msg00007.html
> 
> I've chosen to implement that with new DECL_CXX_LAMBDA_FUNCTION that
> uses an empty bit in tree_function_decl.
> 
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
> 
> Ready for trunk?
> 
> gcc/ChangeLog:
> 
> 2018-09-12  Martin Liska  <mli...@suse.cz>
> 
>       PR gcov-profile/86109
>       * coverage.c (coverage_begin_function): Do not
>       mark lambdas as artificial.
>       * tree-core.h (struct GTY): Remove tm_clone_flag
>       and introduce new lambda_function.
>       * tree.h (DECL_CXX_LAMBDA_FUNCTION): New macro.
> 
> gcc/cp/ChangeLog:
> 
> 2018-09-12  Martin Liska  <mli...@suse.cz>
> 
>       PR gcov-profile/86109
>       * parser.c (cp_parser_lambda_declarator_opt):
>       Set DECL_CXX_LAMBDA_FUNCTION for lambdas.
> 
> gcc/testsuite/ChangeLog:
> 
> 2018-09-12  Martin Liska  <mli...@suse.cz>
> 
>       PR gcov-profile/86109
>       * g++.dg/gcov/pr86109.C: New test.
> ---
>  gcc/coverage.c                      |  3 ++-
>  gcc/cp/parser.c                     |  1 +
>  gcc/testsuite/g++.dg/gcov/pr86109.C | 16 ++++++++++++++++
>  gcc/tree-core.h                     |  2 +-
>  gcc/tree.h                          |  4 ++++
>  5 files changed, 24 insertions(+), 2 deletions(-)
>  create mode 100644 gcc/testsuite/g++.dg/gcov/pr86109.C
> 
> 

Reply via email to