]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-common.c
* c-common.c (builtin_define_type_max): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2002 03:06:30 +0000 (03:06 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2002 03:06:30 +0000 (03:06 +0000)
commit574006c38f84136e586244c4a8cc7d4244e919e2
treea51f218e63a3e610ab83885e2934f450d9444946
parent938e069bfe4a844dcd80d9b02cc2900c803a2bbc
    * 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__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54544 138bc75d-0d04-0410-961f-82ee72b054a4
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