c-common.c (builtin_define_type_max): New.
authorRichard Henderson <rth@redhat.com>
Wed, 12 Jun 2002 03:06:30 +0000 (20:06 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 12 Jun 2002 03:06:30 +0000 (20:06 -0700)
commit676997cfd2c72fe7a5fa815d78e8a7351072c7d4
treea51f218e63a3e610ab83885e2934f450d9444946
parent116b7a5ea82b371a114209bd6b277e72ece51bc1
c-common.c (builtin_define_type_max): New.

        * c-common.c (builtin_define_type_max): New.
        (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.

        From Joseph S. Myers:
        * glimits.h: Rewrite to expect the double underscore definitions
        from the compiler.

        * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
        config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
        config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
        config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
        config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
        config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
        config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.

From-SVN: r54544
22 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/config/alpha/unicosmk.h
gcc/config/avr/avr.h
gcc/config/h8300/h8300.h
gcc/config/i386/linux64.h
gcc/config/ia64/aix.h
gcc/config/ia64/hpux.h
gcc/config/ia64/ia64.h
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc12.h
gcc/config/mips/mips.h
gcc/config/mmix/mmix.h
gcc/config/mn10200/mn10200.h
gcc/config/pa/pa.h
gcc/config/rs6000/aix43.h
gcc/config/rs6000/aix51.h
gcc/config/rs6000/linux64.h
gcc/config/s390/linux.h
gcc/config/sh/sh.h
gcc/config/stormy16/stormy16.h
gcc/glimits.h