This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH Re: sizeof (_Bool)
- From: Stan Shebs <shebs at apple dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 02 May 2002 08:26:45 -0700
- Subject: Re: PATCH Re: sizeof (_Bool)
- References: <3CC9E575.9CD43FC6@apple.com> <Pine.LNX.4.33.0204270057480.12099-100000@kern.srcf.societies.cam.ac.uk> <wvl8z72bsii.fsf_-_@prospero.cambridge.redhat.com>
Jason Merrill wrote:
>
> C and C++ bool should absolutely have the same size. Does this do the
> trick for you?
Yes, this looks like the right thing. Thank you!
Stan
> 2002-05-02 Jason Merrill <jason@redhat.com>
>
> * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
> * c-decl.c (c_init_decl_processing): Use it.
> * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
> * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
> * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
> * cp/decl.c (BOOL_TYPE_SIZE): Move default to defaults.h.