config.gcc: Don't mention MAX_LONG_TYPE_SIZE.
* config.gcc: Don't mention MAX_LONG_TYPE_SIZE. * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison. * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, config/mips/iris5.h, config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/darwin.h, config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/sparc.h, config/xtensa/xtensa.h: Remove the definitions of MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or MAX_WCHAR_TYPE_SIZE. * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove. From-SVN: r77460
This commit is contained in:
parent
883899eef1
commit
1197924d2b
@ -1,3 +1,23 @@
|
||||
2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config.gcc: Don't mention MAX_LONG_TYPE_SIZE.
|
||||
* system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
|
||||
MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison.
|
||||
* config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
|
||||
config/ia64/ia64.h, config/ip2k/ip2k.h,
|
||||
config/iq2000/iq2000.h, config/mips/iris5.h,
|
||||
config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h,
|
||||
config/rs6000/aix51.h, config/rs6000/aix52.h,
|
||||
config/rs6000/darwin.h, config/rs6000/rs6000.h,
|
||||
config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h,
|
||||
config/sparc/linux.h, config/sparc/linux64.h,
|
||||
config/sparc/netbsd-elf.h, config/sparc/sparc.h,
|
||||
config/xtensa/xtensa.h: Remove the definitions of
|
||||
MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or
|
||||
MAX_WCHAR_TYPE_SIZE.
|
||||
* doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
|
||||
MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove.
|
||||
|
||||
2004-02-07 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
PR bootstrap/13990
|
||||
|
@ -124,11 +124,8 @@
|
||||
# system normally uses GNU as.
|
||||
#
|
||||
# need_64bit_hwint Set to yes if HOST_WIDE_INT must be 64 bits wide
|
||||
# for this target. This is true iff
|
||||
# MAX_LONG_TYPE_SIZE is 64. (The code which
|
||||
# determines the underlying integral type for
|
||||
# HOST_WIDE_INT cannot see the definition of
|
||||
# MAX_LONG_TYPE_SIZE.)
|
||||
# for this target. This is true iff this target
|
||||
# supports "long" or "wchar_t" wider than 32 bits.
|
||||
#
|
||||
# configure_default_options
|
||||
# Set to an initializer for configure_default_options
|
||||
|
@ -142,7 +142,6 @@ extern int avr_asm_only_p;
|
||||
#define INT_TYPE_SIZE (TARGET_INT8 ? 8 : 16)
|
||||
#define SHORT_TYPE_SIZE (INT_TYPE_SIZE == 8 ? INT_TYPE_SIZE : 16)
|
||||
#define LONG_TYPE_SIZE (INT_TYPE_SIZE == 8 ? 16 : 32)
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 32
|
||||
|
@ -983,7 +983,6 @@ struct cum_arg
|
||||
|
||||
#define WCHAR_TYPE "short unsigned int"
|
||||
#define WCHAR_TYPE_SIZE 16
|
||||
#define MAX_WCHAR_TYPE_SIZE 16
|
||||
|
||||
/* A function address in a call instruction
|
||||
is a byte address (for indexing purposes)
|
||||
|
@ -734,16 +734,13 @@ extern int x86_prefetch_sse;
|
||||
#define INT_TYPE_SIZE 32
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define LONG_TYPE_SIZE BITS_PER_WORD
|
||||
#define MAX_WCHAR_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
|
||||
#if defined (TARGET_BI_ARCH) || TARGET_64BIT_DEFAULT
|
||||
#define MAX_BITS_PER_WORD 64
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
#else
|
||||
#define MAX_BITS_PER_WORD 32
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
#endif
|
||||
|
||||
/* Define this if most significant byte of a word is the lowest numbered. */
|
||||
|
@ -429,8 +429,6 @@ while (0)
|
||||
|
||||
#define LONG_TYPE_SIZE (TARGET_ILP32 ? 32 : 64)
|
||||
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
|
@ -90,7 +90,6 @@ extern int target_flags;
|
||||
|
||||
#undef LONG_TYPE_SIZE
|
||||
#define LONG_TYPE_SIZE 32
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
|
||||
#undef LONG_LONG_TYPE_SIZE
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
|
@ -196,7 +196,6 @@ extern int target_flags;
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
#define LONG_DOUBLE_TYPE_SIZE 64
|
||||
#define DEFAULT_SIGNED_CHAR 1
|
||||
#define MAX_WCHAR_TYPE_SIZE 32
|
||||
|
||||
|
||||
/* Register Basics. */
|
||||
|
@ -48,11 +48,9 @@ Boston, MA 02111-1307, USA. */
|
||||
/* Specify wchar_t types. */
|
||||
#undef WCHAR_TYPE
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#undef MAX_WCHAR_TYPE_SIZE
|
||||
|
||||
#define WCHAR_TYPE "int"
|
||||
#define WCHAR_TYPE_SIZE INT_TYPE_SIZE
|
||||
#define MAX_WCHAR_TYPE_SIZE 64
|
||||
|
||||
/* Plain char is unsigned in the SGI compiler. */
|
||||
#undef DEFAULT_SIGNED_CHAR
|
||||
|
@ -1313,21 +1313,12 @@ extern const struct mips_cpu_info *mips_tune_info;
|
||||
/* The number of bytes in a double. */
|
||||
#define UNITS_PER_DOUBLE (TYPE_PRECISION (double_type_node) / BITS_PER_UNIT)
|
||||
|
||||
/* Tell the preprocessor the maximum size of wchar_t. */
|
||||
#ifndef MAX_WCHAR_TYPE_SIZE
|
||||
#ifndef WCHAR_TYPE_SIZE
|
||||
#define MAX_WCHAR_TYPE_SIZE 64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Set the sizes of the core types. */
|
||||
#define SHORT_TYPE_SIZE 16
|
||||
#define INT_TYPE_SIZE (TARGET_INT64 ? 64 : 32)
|
||||
#define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32)
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
#define LONG_DOUBLE_TYPE_SIZE \
|
||||
|
@ -55,8 +55,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#define SHORT_TYPE_SIZE 16
|
||||
#undef INT_TYPE_SIZE
|
||||
#define INT_TYPE_SIZE 32
|
||||
#undef MAX_LONG_TYPE_SIZE
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
#undef LONG_TYPE_SIZE
|
||||
#define LONG_TYPE_SIZE 64
|
||||
#undef LONG_LONG_TYPE_SIZE
|
||||
|
@ -449,7 +449,6 @@ do { \
|
||||
#define WORDS_BIG_ENDIAN 1
|
||||
|
||||
#define MAX_BITS_PER_WORD 64
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
|
||||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
|
||||
|
@ -181,7 +181,6 @@ do { \
|
||||
/* Width of wchar_t in bits. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE (!TARGET_64BIT ? 16 : 32)
|
||||
#define MAX_WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* AIX V5 uses PowerPC nop (ori 0,0,0) instruction as call glue for PowerPC
|
||||
and "cror 31,31,31" for POWER architecture. */
|
||||
|
@ -173,7 +173,6 @@ do { \
|
||||
/* Width of wchar_t in bits. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE (!TARGET_64BIT ? 16 : 32)
|
||||
#define MAX_WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* AIX V5 uses PowerPC nop (ori 0,0,0) instruction as call glue for PowerPC
|
||||
and "cror 31,31,31" for POWER architecture. */
|
||||
|
@ -309,11 +309,6 @@ do { \
|
||||
support 64 bit PowerPC either, so this just keeps things happy. */
|
||||
#define DOUBLE_INT_ASM_OP "\t.quad\t"
|
||||
|
||||
/* Get HOST_WIDE_INT and CONST_INT to be 32 bits, for compile time
|
||||
space/speed. */
|
||||
#undef MAX_LONG_TYPE_SIZE
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
|
||||
/* For binary compatibility with 2.95; Darwin C APIs use bool from
|
||||
stdbool.h, which was an int-sized enum in 2.95. */
|
||||
#define BOOL_TYPE_SIZE INT_TYPE_SIZE
|
||||
|
@ -677,7 +677,6 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops;
|
||||
target machine. If you don't define this, the default is one
|
||||
word. */
|
||||
#define LONG_TYPE_SIZE (TARGET_32BIT ? 32 : 64)
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
|
||||
/* A C expression for the size in bits of the type `long long' on the
|
||||
target machine. If you don't define this, the default is two
|
||||
@ -699,9 +698,6 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops;
|
||||
words. */
|
||||
#define LONG_DOUBLE_TYPE_SIZE rs6000_long_double_type_size
|
||||
|
||||
/* Constant which presents upper bound of the above value. */
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
/* Define this to set long double type size to use in libgcc2.c, which can
|
||||
not depend on target_flags. */
|
||||
#ifdef __LONG_DOUBLE_128__
|
||||
|
@ -257,7 +257,6 @@ if (INTEGRAL_MODE_P (MODE) && \
|
||||
#define SHORT_TYPE_SIZE 16
|
||||
#define INT_TYPE_SIZE 32
|
||||
#define LONG_TYPE_SIZE (TARGET_64BIT ? 64 : 32)
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
|
@ -573,8 +573,6 @@ do { \
|
||||
|
||||
#define MAX_BITS_PER_WORD 64
|
||||
|
||||
#define MAX_LONG_TYPE_SIZE MAX_BITS_PER_WORD
|
||||
|
||||
/* Width in bits of an `int'. We want just 32-bits, even if words are
|
||||
longer. */
|
||||
#define INT_TYPE_SIZE 32
|
||||
|
@ -57,10 +57,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#undef LONG_DOUBLE_TYPE_SIZE
|
||||
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64)
|
||||
|
||||
/* Constant which presents upper bound of the above value. */
|
||||
#undef MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
/* Define this to set long double type size to use in libgcc2.c, which can
|
||||
not depend on target_flags. */
|
||||
#if defined(__arch64__) || defined(__LONG_DOUBLE_128__)
|
||||
|
@ -219,9 +219,6 @@ do { \
|
||||
SPARC ABI says that long double is 4 words. */
|
||||
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64)
|
||||
|
||||
/* Constant which presents upper bound of the above value. */
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
/* Define this to set long double type size to use in libgcc2.c, which can
|
||||
not depend on target_flags. */
|
||||
#ifdef __LONG_DOUBLE_128__
|
||||
|
@ -114,10 +114,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef LONG_DOUBLE_TYPE_SIZE
|
||||
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64)
|
||||
|
||||
/* Constant which presents upper bound of the above value. */
|
||||
#undef MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
/* Define this to set long double type size to use in libgcc2.c, which can
|
||||
not depend on target_flags. */
|
||||
#if defined(__arch64__) || defined(__LONG_DOUBLE_128__)
|
||||
|
@ -219,9 +219,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef LONG_DOUBLE_TYPE_SIZE
|
||||
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64)
|
||||
|
||||
#undef MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
#if defined(__arch64__) || defined(__LONG_DOUBLE_128__)
|
||||
#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 128
|
||||
#else
|
||||
@ -253,9 +250,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef LONG_DOUBLE_TYPE_SIZE
|
||||
#define LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
#undef MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
#undef LIBGCC2_LONG_DOUBLE_TYPE_SIZE
|
||||
#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 128
|
||||
|
||||
@ -274,9 +268,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef LONG_DOUBLE_TYPE_SIZE
|
||||
#define LONG_DOUBLE_TYPE_SIZE 64
|
||||
|
||||
#undef MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
#define MAX_LONG_DOUBLE_TYPE_SIZE 64
|
||||
|
||||
#undef LIBGCC2_LONG_DOUBLE_TYPE_SIZE
|
||||
#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64
|
||||
|
||||
|
@ -694,10 +694,6 @@ extern struct sparc_cpu_select sparc_select[];
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
|
||||
#ifdef SPARC_BI_ARCH
|
||||
#define MAX_LONG_TYPE_SIZE 64
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
/* ??? This does not work in SunOS 4.x, so it is not enabled here.
|
||||
Instead, it is enabled in sol2.h, because it does work under Solaris. */
|
||||
|
@ -161,7 +161,6 @@ extern unsigned xtensa_current_frame_size;
|
||||
#define INT_TYPE_SIZE 32
|
||||
#define SHORT_TYPE_SIZE 16
|
||||
#define LONG_TYPE_SIZE 32
|
||||
#define MAX_LONG_TYPE_SIZE 32
|
||||
#define LONG_LONG_TYPE_SIZE 64
|
||||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
|
@ -1535,14 +1535,6 @@ the size of that type. If you don't define this, the default is the
|
||||
value of @code{LONG_TYPE_SIZE}.
|
||||
@end defmac
|
||||
|
||||
@defmac MAX_LONG_TYPE_SIZE
|
||||
Maximum number for the size in bits of the type @code{long} on the
|
||||
target machine. If this is undefined, the default is
|
||||
@code{LONG_TYPE_SIZE}. Otherwise, it is the constant value that is the
|
||||
largest value that @code{LONG_TYPE_SIZE} can have at run-time. This is
|
||||
used in @code{cpp}.
|
||||
@end defmac
|
||||
|
||||
@defmac LONG_LONG_TYPE_SIZE
|
||||
A C expression for the size in bits of the type @code{long long} on the
|
||||
target machine. If you don't define this, the default is two
|
||||
@ -1579,14 +1571,6 @@ the target machine. If you don't define this, the default is two
|
||||
words.
|
||||
@end defmac
|
||||
|
||||
@defmac MAX_LONG_DOUBLE_TYPE_SIZE
|
||||
Maximum number for the size in bits of the type @code{long double} on the
|
||||
target machine. If this is undefined, the default is
|
||||
@code{LONG_DOUBLE_TYPE_SIZE}. Otherwise, it is the constant value that is
|
||||
the largest value that @code{LONG_DOUBLE_TYPE_SIZE} can have at run-time.
|
||||
This is used in @code{cpp}.
|
||||
@end defmac
|
||||
|
||||
@defmac TARGET_FLT_EVAL_METHOD
|
||||
A C expression for the value for @code{FLT_EVAL_METHOD} in @file{float.h},
|
||||
assuming, if applicable, that the floating-point control word is in its
|
||||
@ -1659,22 +1643,6 @@ characters. This is used in @code{cpp}, which cannot make use of
|
||||
@code{WCHAR_TYPE}.
|
||||
@end defmac
|
||||
|
||||
@defmac MAX_WCHAR_TYPE_SIZE
|
||||
Maximum number for the size in bits of the data type for wide
|
||||
characters. If this is undefined, the default is
|
||||
@code{WCHAR_TYPE_SIZE}. Otherwise, it is the constant value that is the
|
||||
largest value that @code{WCHAR_TYPE_SIZE} can have at run-time. This is
|
||||
used in @code{cpp}.
|
||||
@end defmac
|
||||
|
||||
@defmac GCOV_TYPE_SIZE
|
||||
A C expression for the size in bits of the type used for gcov counters on the
|
||||
target machine. If you don't define this, the default is one
|
||||
@code{LONG_TYPE_SIZE} in case it is greater or equal to 64-bit and
|
||||
@code{LONG_LONG_TYPE_SIZE} otherwise. You may want to re-define the type to
|
||||
ensure atomicity for counters in multithreaded programs.
|
||||
@end defmac
|
||||
|
||||
@defmac WINT_TYPE
|
||||
A C expression for a string describing the name of the data type to
|
||||
use for wide characters passed to @code{printf} and returned from
|
||||
|
@ -633,7 +633,8 @@ typedef char _Bool;
|
||||
FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP \
|
||||
PROMOTED_MODE EXPAND_BUILTIN_VA_END \
|
||||
LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \
|
||||
GIV_SORT_CRITERION
|
||||
GIV_SORT_CRITERION MAX_LONG_TYPE_SIZE MAX_LONG_DOUBLE_TYPE_SIZE \
|
||||
MAX_WCHAR_TYPE_SIZE GCOV_TYPE_SIZE
|
||||
|
||||
/* Hooks that are no longer used. */
|
||||
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
|
||||
|
Loading…
Reference in New Issue
Block a user