This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: autoconf for type sizes
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: autoconf for type sizes
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 12 Mar 2001 16:17:46 -0800
- Cc: zackw at Stanford dot EDU, gcc-patches at gcc dot gnu dot org
- References: <200103122038.PAA04713@caip.rutgers.edu>
On Mon, Mar 12, 2001 at 03:38:17PM -0500, Kaveh R. Ghazi wrote:
> 2. (Optional) while you're at it, why not use WORD_BIT/LONG_BIT (with
> defaults of 32 for both) and skip the sizeof test for int/long.
Why, when you are guaranteed that CHAR_BIT*sizeof(type) works?
r~