This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]