Re: c-family PATCH for warn_logical_operator

2017-12-18 Thread Jeff Law
On 12/18/2017 03:35 AM, Marek Polacek wrote: > While looking into something else I noticed that because of the missing > warn_logical_op check we do unnecessary work in warn_logical_operator, like > calling fold_for_warn which can put stuff into cv/fold_cache etc. It also > causes more noise when

c-family PATCH for warn_logical_operator

2017-12-18 Thread Marek Polacek
While looking into something else I noticed that because of the missing warn_logical_op check we do unnecessary work in warn_logical_operator, like calling fold_for_warn which can put stuff into cv/fold_cache etc. It also causes more noise when debugging. Bootstrapped/regtested on x86_64-linux,