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/17 Richard Guenther <email@example.com>:
> Thus, I suggest to revert the patch or make the warning not part of -Wall.
It is part of Wextra, not Wall. If we don't really want to be warned about:
if (!x && x)
if (x == 4 && x == 5)
then the warning is not useful for GCC and it should be taken out of Wextra.
But it is an useful warning and it found a bug in IRA.