On 07/21/2015 04:56 AM, Marek Polacek wrote:
Ping.

On Tue, Jul 14, 2015 at 06:38:12PM +0200, Marek Polacek wrote:
Ok, in that case I think easiest would the following (I hit the same issue
when writing the -Wtautological-compare patch):

Bootstrapped/regtested on x86_64-linux, ok for trunk?

2015-07-14  Marek Polacek  <pola...@redhat.com>

        PR c++/66572
        * pt.c (tsubst_copy_and_build): Add warn_logical_op sentinel.

        * g++.dg/warn/Wlogical-op-2.C: New test.
I realize it's C++, but it's simple enough for me.

Ok for the trunk.

jeff

Reply via email to