http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47214
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-11
11:55:08 UTC ---
The warning is at a level that doesn't see previous tests. Instead it sees
if (strcasecmp (s, i >= 0 && i <= last ? table[i] : 0B) == 0)
where it is not obvious that i >= 0 && i <= last is true. In fact, there
is no way to see that i <= last is true.