Ian Lance Taylor wrote: > Any thoughts on whether this is a good idea? > I agree. Long ago I had a similar situation with CCP not being able to do some trivial propagation because a variable of an enum type was being accessed with BIT_FIELD_REFs hiding the real values. I will try to find my message.
Anything that hides things from the optimizers is inherently bad.