On Mon, Aug 14, 2006 at 11:43:29AM +0200, Marcin 'Qrczak' Kowalczyk wrote: > I was told in January that the "comparison is always true due to > limited range of data type" warning has been guarded by > -Walways-true in gcc-4.2.0. But it's still issued unconditionally in > gcc-4.2.0-0.20060806r115974.
-Walways-true does handle some warnings in this way, but the warning you refer to is not one of them: warning (0, "comparison is always true due to limited range of data type"); This could and should be fixed. Cheers, Ben