------- Comment #3 from oleg dot smolsky at riverbed dot com 2009-03-03 19:40 ------- I've just built gcc from the official SVN and it looks like this bug is not fully fixed. The following code generates a warning when compiled with -Wconversion:
#include <cstdlib> #define M1 0xC0u #define M2 0x20u unsigned char test(unsigned char a1, unsigned char a2) { unsigned char local = (a1 & M1) | (a2 & M2); // warn return local; } Could someone re-open the bug please? -- oleg dot smolsky at riverbed dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at gaul dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38522