This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C/C++ PATCH] Improve -Wlogical-op (PR c/63357)
- From: Marek Polacek <polacek at redhat dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Apr 2015 13:12:03 +0200
- Subject: Re: [C/C++ PATCH] Improve -Wlogical-op (PR c/63357)
- Authentication-results: sourceware.org; auth=none
- References: <20150421111638 dot GB28950 at redhat dot com> <55365C6E dot 1080100 at gmail dot com> <20150422085924 dot GE28950 at redhat dot com> <CAESRpQBZbcDyHvdwRYm3AezZZoJLOiHP9JYAK5Tif-nQFZPSYw at mail dot gmail dot com>
On Wed, Apr 22, 2015 at 11:50:17AM +0200, Manuel López-Ibáñez wrote:
> So, I think your proposal is an improvement, however, it does not
> fully fix the problem. For that, we need to have locations for the
> operands of expressions (PR43486), so we can check if they are also
> come from macro expansion.
Right. Argh. I'll post that input.h bit nonetheless, it certainly won't make
things worse... Thanks.
Marek