Bootstrap failure on trunk: x86_64-linux-gnu
Jeffrey A Law
law@redhat.com
Wed Feb 22 17:07:00 GMT 2006
On Wed, 2006-02-22 at 09:00 -0800, Mark Mitchell wrote:
> Jeffrey A Law wrote:
>
> > This does highlight one of the issues that keeps nagging at me.
> > For an enumeration type, presumably we have TYPE_PRECISION set to
> > the minimum precision necessary to hold all the values in the enum.
> > What are TYPE_MIN_VAL/TYPE_MAX_VAL? Does TYPE_MAX_VALUE include
> > values outside the enum, but which are included by the TYPE_PRECISION?
>
> In C++, there are no such values. In C++, the range of the type gets
> rounded up to a power of two, so for:
Great. That's what I expected to hear. Hopefully the C
front end does something similar.
Jeff
More information about the Gcc
mailing list