[C/C++/IRA] PR 16302 gcc fails to warn about some common logic errors

Manuel López-Ibáñez lopezibanez@gmail.com
Tue May 19 15:42:00 GMT 2009


2009/5/19 H.J. Lu <hjl.tools@gmail.com>:
> 2009/5/19 Manuel López-Ibáñez <lopezibanez@gmail.com>:
>> 2009/5/19 Mark Mitchell <mark@codesourcery.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.

Thanks anyway,

Manuel.



More information about the Gcc-patches mailing list