This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: __SIZE_TYPE__ and friends out of specs
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 May 2002 17:56:14 -0700
- Subject: Re: __SIZE_TYPE__ and friends out of specs
- References: <20020514003326.GJ374@codesourcery.com>
On Mon, May 13, 2002 at 05:33:26PM -0700, Zack Weinberg wrote:
> * c-common.c (builtin_define_with_value): New function.
> (cb_register_builtins): Define __SIZE_TYPE__,
> __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here.
> Make definitions of __GXX_WEAK__ use consistent notation.
> * c-lex.h: Prototype builtin_define_with_value.
>
> * cppdefault.h: Remove default definitions of SIZE_TYPE,
> PTRDIFF_TYPE, WCHAR_TYPE, and WINT_TYPE.
> * cppinit.c (builtin_array): Remove __SIZE_TYPE__ etc.
> * gcc.c (cpp_unique_options): Don't mess with __WCHAR_TYPE__.
> * tradcpp.c (initialize_builtins): Don't define __SIZE_TYPE__ etc.
>
> * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
> config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
> config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
> config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
> config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
> config/sparc/netbsd-elf.h, config/sparc/sol2-bi.h,
> config/sparc/sparc.h: Don't define any of
> NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE,
> NO_BUILTIN_WCHAR_TYPE, or NO_BUILTIN_WINT_TYPE.
> Remove all mention of __SIZE_TYPE__ etc from specs.
> Delete specs which are now empty.
>
> * doc/tm.texi: Remove documentation of NO_BUILTIN_*.
Ok.
r~