aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 14 Mar 2001 00:58:32 +0000 (00:58 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 14 Mar 2001 00:58:32 +0000 (00:58 +0000)
commit75e93faacce9ef53574291df3ddc87783a39babc
treeccab7edf12c9ffc3898e11aebb74de9fd06f46a0
parent41947a54d2d19e8432255617cb7b9f28de65c413
aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.

* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
gcc_AC_C_LONG_LONG): New.
* configure.in: Use them.  Probe the size of short, int, long,
and long long/__int64 if we have them.  Move all the AC_C_*
checks together, except gcc_AC_C_CHAR_BIT which has to go
after AC_CHECK_HEADERS(limits.h).
Take hwint.h out of host_xm_file and build_xm_file.

* hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
Move the HOST_WIDEST_INT setup logic here from system.h.
Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
defined.
* system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
is now handled by hwint.h.

* config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
config/c4x/xm-c4x.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h: Don't define any of:
HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
HOST_BITS_PER_LONGLONG.

* config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/mips/iris6.h,
config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
config/sparc/xm-sp64.h: Delete.
* config.gcc: Remove references to deleted files.

* config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
* config/i370/xm-linux.h: Clarify floating-point situation in
a comment.

From-SVN: r40446
23 files changed:
gcc/ChangeLog
gcc/aclocal.m4
gcc/config.gcc
gcc/config.in
gcc/config/alpha/xm-alpha-interix.h
gcc/config/alpha/xm-alpha.h [deleted file]
gcc/config/alpha/xm-vms.h
gcc/config/arm/xm-arm.h
gcc/config/c4x/xm-c4x.h
gcc/config/dsp16xx/xm-dsp16xx.h [deleted file]
gcc/config/h8300/xm-h8300.h [deleted file]
gcc/config/i370/xm-linux.h
gcc/config/i370/xm-oe.h
gcc/config/ia64/xm-ia64.h
gcc/config/mips/xm-iris6.h [deleted file]
gcc/config/mips/xm-mips.h
gcc/config/mn10200/xm-mn10200.h [deleted file]
gcc/config/pa/xm-pa64hpux.h [deleted file]
gcc/config/sparc/xm-sp64.h [deleted file]
gcc/configure
gcc/configure.in
gcc/hwint.h
gcc/system.h