[PATCH] Quiet down -Wlogical-op a bit (PR c/61534)

Dodji Seketeli dodji@redhat.com
Thu Apr 23 14:30:00 GMT 2015


Hi!

Marek Polacek <polacek@redhat.com> writes:

> This patch stifles -Wlogical-op a bit: don't warn if either operand
> comes from a macro expansion.  As the comment says, it doesn't fix the
> bug completely, but it's a simple improvement.

I cannot approve this patch, but for what it's worth, I like it and
would vote for it to go in.

> I did this by introducing a new macro.

Fair enough.

[...]

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

[+1] from me.

Thanks!

-- 
		Dodji



More information about the Gcc-patches mailing list