This is the mail archive of the
mailing list for the GCC project.
Re: [C/C++/IRA] PR 16302 gcc fails to warn about some common logic errors
2009/5/19 Manuel LÃpez-IbÃÃez <firstname.lastname@example.org>:
> 2009/5/19 H.J. Lu <email@example.com>:
>> 2009/5/19 Manuel LÃpez-IbÃÃez <firstname.lastname@example.org>:
>>> 2009/5/19 Mark Mitchell <email@example.com>:
>>>> Manuel LÃpez-IbÃÅez wrote:
>>>>> -Wlogical-op has never been part of -Wextra in any released GCC.
>>>> OK, I think that's a good argument for moving it back out, then.
>>> So? My patch is pre-approved if it passes bootstrap & regression test?
>> You should also add -Wlogical-op to gcc.dg/pr40172.c.
> It is already in the last patch that I sent.
For reference, this is what I am testing: