This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bit_size_type - a data type?


On Mon, May 12, 2008 at 11:58 AM, Mohamed Shafi <shafitvm@gmail.com> wrote:
> Hello all,
>
>  During debugging in gimple dumps i found a term that is used along
>  with other data types - bit_size_type.
>
>  I am getting ICEs when size of int is 32 bit and no errors when the
>  size of int is 16. This is for a back-end whose native size is 16bit.
>
>  Is this any internal data type used to for representation?
>  What is the size of this data type? Will i be able to control the size
>  of this like we can for other data types?

bitsizetype is a type that can hold any values of sizetype * BITS_PER_UNIT so
we can safely do bit-size calculations without overflow.  This type
shouldn't end
up used in code though.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]