Hi, A while ago I posted a message about the inefficient code generated by gcc 3.4.0 with constructs like "if (0x40 & var)".
I think I might have a fix for this problem. I've added a new switch to the compiler that disables the particular optimisation that is causing the problem. It seems to work reliably so far, though that probably just means I haven't tested it enough. If anyone is interested I could make a patch file availiable. Regards Phil.