Re: [PATCH] Improve location information of -Wcoverage-mismatch.

2018-09-21 Thread Jeff Law
On 9/12/18 6:37 AM, Martin Liška wrote: > Hi. > > The patch improves locations of the warning in following way: > > sample.c: In function ‘main’: > sample.c:16:1: error: source locations for function ‘main’ have changed, the > profile data may be out of date [-Werror=coverage-mismatch] > 16 | }

Re: [PATCH] Improve location information of -Wcoverage-mismatch.

2018-09-21 Thread Martin Liška
PING^1 On 9/12/18 2:37 PM, Martin Liška wrote: > Hi. > > The patch improves locations of the warning in following way: > > sample.c: In function ‘main’: > sample.c:16:1: error: source locations for function ‘main’ have changed, the > profile data may be out of date [-Werror=coverage-mismatch] >

[PATCH] Improve location information of -Wcoverage-mismatch.

2018-09-12 Thread Martin Liška
Hi. The patch improves locations of the warning in following way: sample.c: In function ‘main’: sample.c:16:1: error: source locations for function ‘main’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 16 | } | ^ sample.c:16:1: error: source locations for functi