From 1197924d2b6814fdf2f3d6b90432824ccef43855 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 7 Feb 2004 17:06:25 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 20 ++++++++++++++++++++ gcc/config.gcc | 7 ++----- gcc/config/avr/avr.h | 1 - gcc/config/h8300/h8300.h | 1 - gcc/config/i386/i386.h | 3 --- gcc/config/ia64/ia64.h | 2 -- gcc/config/ip2k/ip2k.h | 1 - gcc/config/iq2000/iq2000.h | 1 - gcc/config/mips/iris5.h | 2 -- gcc/config/mips/mips.h | 9 --------- gcc/config/pa/pa-64.h | 2 -- gcc/config/pa/pa.h | 1 - gcc/config/rs6000/aix51.h | 1 - gcc/config/rs6000/aix52.h | 1 - gcc/config/rs6000/darwin.h | 5 ----- gcc/config/rs6000/rs6000.h | 4 ---- gcc/config/s390/s390.h | 1 - gcc/config/sh/sh.h | 2 -- gcc/config/sparc/freebsd.h | 4 ---- gcc/config/sparc/linux.h | 3 --- gcc/config/sparc/linux64.h | 4 ---- gcc/config/sparc/netbsd-elf.h | 9 --------- gcc/config/sparc/sparc.h | 4 ---- gcc/config/xtensa/xtensa.h | 1 - gcc/doc/tm.texi | 32 -------------------------------- gcc/system.h | 3 ++- 26 files changed, 24 insertions(+), 100 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20b7ff2a2f7e..31c19831fea9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,23 @@ +2004-02-07 Kazu Hirata + + * 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 PR bootstrap/13990 diff --git a/gcc/config.gcc b/gcc/config.gcc index 017195ff9ada..aee81cfe7479 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 01ca60479566..79e3e5858977 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -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 diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index e2ba3078ee35..1b3d6eea9b2d 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -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) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 482a8407ef58..d8501d6d2c74 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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. */ diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 279500ee7505..ddcb89ac89a9 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -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 diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h index 8c9a66c89d44..6457e8bb3eff 100644 --- a/gcc/config/ip2k/ip2k.h +++ b/gcc/config/ip2k/ip2k.h @@ -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 diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index a69096b4464c..add330402918 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -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. */ diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index dd592a761574..84895efb2b77 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -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 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index d899143967ab..f53d04c442b5 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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 \ diff --git a/gcc/config/pa/pa-64.h b/gcc/config/pa/pa-64.h index a76a8aab8e17..414ae6bbf448 100644 --- a/gcc/config/pa/pa-64.h +++ b/gcc/config/pa/pa-64.h @@ -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 diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 944917fb6d2d..62b670c83e29 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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) diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h index 278b6a4c32a8..a96d9737bf15 100644 --- a/gcc/config/rs6000/aix51.h +++ b/gcc/config/rs6000/aix51.h @@ -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. */ diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h index c06665066b31..e714d3c0282a 100644 --- a/gcc/config/rs6000/aix52.h +++ b/gcc/config/rs6000/aix52.h @@ -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. */ diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 62ed74c00d83..44ded5b01c2f 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -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 diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 8ca547ada50b..cd8d05df0342 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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__ diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 16d181778bfa..90a4d2c16224 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -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 diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index c3677977bd45..8580cb6d2013 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -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 diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index f308263d36df..233876d41ba2 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -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__) diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 8af7c5a0259a..9abdd788d9e6 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -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__ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 2969880edadf..d1b22abbd3ab 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -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__) diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index 4e191a5aeaa8..3cfd0fc1ebbb 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -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 diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 81a1be3b0ed8..a8f51e6d4cb2 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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. */ diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 0e97229820e9..1ba81d192bc5 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -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 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 37a3e20e6dca..883f034ab2db 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 diff --git a/gcc/system.h b/gcc/system.h index f77f0bf32233..0397cf29613f 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 \ -- 2.43.5