Johan Knol
-
2001-07-25
- milestone: --> fixed
- assigned_to: nobody --> johanknol
- status: open --> closed-fixed
In this code (part of
support/regression/bug-408972.c):
int leftShiftIntMasked (int v) {
return ((v & 0xff00U) << 3);
}
the expression (v & 0xff00U) is promoted from int to
long. michaelh isn't sure, but I think with the U
both should be ints and shouldn't be promoted.