Help with bit-field semantics in C and C++
Mark Mitchell
mark@codesourcery.com
Wed Aug 25 00:23:00 GMT 2004
Richard Henderson wrote:
>I'm going to sidestep the question of whether or not the compiler
>should force the value into a valid range upon cast or assignment
>and ask a different question.
>
>Is TYPE_PRECISION (t) < GET_MODE_PRECISION (TYPE_MODE (t)) the
>correct representation?
>
>
Interesting idea. Are there any other cases where TYPE_PRECISION !=
GET_MODE_PRECISION? If not, we could eliminate the former...
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc
mailing list