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: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Apr 2015 11:53:25 +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 22 April 2015 at 11:50, Manuel López-Ibáñez <lopezibanez@gmail.com> 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.
Or, in general, from system headers:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486#c8
Cheers,
Manuel.