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
On Mon, May 13, 2002 at 05:56:14PM -0700, Richard Henderson wrote:
> 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.
On Mon, May 13, 2002 at 08:02:16PM -0700, Mark Mitchell wrote:
>
> Excellent.
>
> Check it in,
I must wait for Neil to check in his patch
(http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01092.html) which causes
-m options to be passed to the preprocessor, or all the targets with
runtime selectable __FOO_TYPE__ will break.
zw