Re: Representative returns and location info (Re: [RFC, PATCH] Display inlining context for uninitialized warnings)

2019-07-24 Thread Eric Botcazou
> (Let's focus on location info and representative returns in this > subthread.) > > AFAIU, a return statement may be chosen as a representative return for a > function. The representative return's location is set to > UNKNOWN_LOCATION, because otherwise the results of coverage analysis are > ske

Representative returns and location info (Re: [RFC, PATCH] Display inlining context for uninitialized warnings)

2019-07-24 Thread Vladislav Ivanishin
Jeff Law writes: > On 6/19/19 8:57 AM, Martin Sebor wrote: >> On 6/19/19 5:11 AM, Vladislav Ivanishin wrote: >>> Hi, >>> >>> This patch (partially) adds displaying inlining context for >>> -W{maybe,}uninitialized warnings.  This is not as trivial to enable as >>> simply supplying the "%G" format s

Ping: [RFC, PATCH] Display inlining context for uninitialized warnings

2019-07-24 Thread Vladislav Ivanishin
Hi, I'm pinging . I think, there are two subtopics to it that can be discussed separately. I would like to focus on the patch itself here. I am going to also start a subthread dedicated to dealing with representative returns. I still hav

Re: [RFC, PATCH] Display inlining context for uninitialized warnings

2019-06-19 Thread Jeff Law
On 6/19/19 8:57 AM, Martin Sebor wrote: > On 6/19/19 5:11 AM, Vladislav Ivanishin wrote: >> Hi, >> >> This patch (partially) adds displaying inlining context for >> -W{maybe,}uninitialized warnings.  This is not as trivial to enable as >> simply supplying the "%G" format specifier, so I have some q

Re: [RFC, PATCH] Display inlining context for uninitialized warnings

2019-06-19 Thread Martin Sebor
On 6/19/19 5:11 AM, Vladislav Ivanishin wrote: Hi, This patch (partially) adds displaying inlining context for -W{maybe,}uninitialized warnings. This is not as trivial to enable as simply supplying the "%G" format specifier, so I have some questions below. I need this hunk void percent_K_

[RFC, PATCH] Display inlining context for uninitialized warnings

2019-06-19 Thread Vladislav Ivanishin
Hi, This patch (partially) adds displaying inlining context for -W{maybe,}uninitialized warnings. This is not as trivial to enable as simply supplying the "%G" format specifier, so I have some questions below. I need this hunk void percent_K_format (text_info *text, location_t loc, tree blo