Re: [PATCH] Properly mark lambdas in GCOV (PR gcov-profile/86109).

2018-10-02 Thread Jeff Law
On 10/2/18 11:14 AM, Martin Liška wrote: > On 10/2/18 5:32 PM, Jeff Law wrote: >> On 9/12/18 6:39 AM, Martin Liška wrote: >>> Hi. >>> >>> This is follow-up of: >>> https://gcc.gnu.org/ml/gcc/2018-08/msg7.html >>> >>> I've chosen to implement that with new DECL_CXX_LAMBDA_FUNCTION that >>> uses

Re: [PATCH] Properly mark lambdas in GCOV (PR gcov-profile/86109).

2018-10-02 Thread Martin Liška
On 10/2/18 5:32 PM, Jeff Law wrote: On 9/12/18 6:39 AM, Martin Liška wrote: Hi. This is follow-up of: https://gcc.gnu.org/ml/gcc/2018-08/msg7.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-r

Re: [PATCH] Properly mark lambdas in GCOV (PR gcov-profile/86109).

2018-10-02 Thread Jeff Law
On 9/12/18 6:39 AM, Martin Liška wrote: > Hi. > > This is follow-up of: > https://gcc.gnu.org/ml/gcc/2018-08/msg7.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 survi

Re: [PATCH] Properly mark lambdas in GCOV (PR gcov-profile/86109).

2018-09-21 Thread Martin Liška
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/msg7.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 a

[PATCH] Properly mark lambdas in GCOV (PR gcov-profile/86109).

2018-09-12 Thread Martin Liška
Hi. This is follow-up of: https://gcc.gnu.org/ml/gcc/2018-08/msg7.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: 2