This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fdump-ast-original and strg:
- From: Richard Henderson <rth at redhat dot com>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: mike stump <mrs at windriver dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 14:22:43 -0800
- Subject: Re: fdump-ast-original and strg:
- References: <200112010147.RAA17752@kankakee.wrs.com> <Pine.LNX.4.33.0112010227140.26590-100000@kern.srcf.societies.cam.ac.uk>
On Sat, Dec 01, 2001 at 02:34:21AM +0000, Joseph S. Myers wrote:
> > 21 #define SHORT_TYPE_SIZE 16
> > 1 #define SHORT_TYPE_SIZE 32
> > 1 #define SHORT_TYPE_SIZE (INT_TYPE_SIZE == 8 ? INT_TYPE_SIZE : 16)
>
> Defaults to (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2)).
Better is MAX (16, BITS_PER_UNIT).
> > 18 #define INT_TYPE_SIZE 32
> > 3 #define INT_TYPE_SIZE 16
> > 2 #define INT_TYPE_SIZE (TARGET_SHORT ? 16 : 32)
> > 1 #define INT_TYPE_SIZE 64
>
> Defaults to BITS_PER_WORD.
A closer default is just 32. The 16 and 64 bit outliers are
definitely the exception.
r~