From: Johan Knol <johan.knol@id...> - 2002-01-15 13:53:54
> bit b;
> foo (char c)
> b = ~ (bit) c;
> The cast to bit is ignored. Bit b is only cleared,
> when c == 0xff, otherwise b is set.
> But I don't really know, if a cast to bit is legal.
Why not. Fixed in mcs51/gen.c:1.124 and ds390/gen.c:1.48, but there may be
other ops where this fix could be applicable.