Re: Proposal to extend -Wcoverage-mismatch diagnostic cases

2018-08-13 Thread Indu Bhagat
On 08/13/2018 06:32 AM, Martin Liška wrote: On 08/09/2018 08:05 PM, Indu Bhagat wrote: Wcoverage-mismatch is meant to "Warn in case profiles in -fprofile-use do not match" Currently, gcc compiler warns about the following two cases of source code changes which alert the programmer to re-gene

Re: Proposal to extend -Wcoverage-mismatch diagnostic cases

2018-08-13 Thread Martin Liška
On 08/09/2018 08:05 PM, Indu Bhagat wrote: > Wcoverage-mismatch is meant to "Warn in case profiles in -fprofile-use do not > match" > > Currently, gcc compiler warns about the following two cases of source code > changes which alert the programmer to re-generate the profiles : > > 1. Control flow

Proposal to extend -Wcoverage-mismatch diagnostic cases

2018-08-09 Thread Indu Bhagat
Wcoverage-mismatch is meant to "Warn in case profiles in -fprofile-use do not match" Currently, gcc compiler warns about the following two cases of source code changes which alert the programmer to re-generate the profiles : 1. Control flow mismatch If functions' control flow has been altered