------- Comment #4 from tonyg-gccbugzilla at lshift dot net 2006-06-16 09:28 ------- Even better, if you remove the redundant parens, so that the program reads
... if ((integerValue >= 0) && (integerValue >= -1073741824) && (integerValue < 1073741824)) { ... then the optimizer generates code correctly! (How on earth can paren placement affect code generation???) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28042