------- Comment #2 from P at draigBrady dot com 2010-04-17 17:40 ------- Well the warning should at least change.
However the logical operation itself is not an issue, so I think a warning should not be issued at all. I.E. if TOP and BOT are defined as a narrower range then we don't get a warning currently. When TOP and BOT do encompass the whole range then the compiler should just optimize out the conditional test without warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43772