From 9a571cfd9db11887adbf8917aa1641047bcfd012 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 3 Mar 2002 15:37:32 +0000 Subject: [PATCH] 1750a.h, [...] (CHAR_TYPE_SIZE): Delete. * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. From-SVN: r50256 --- gcc/ChangeLog | 6 ++++++ gcc/config/1750a/1750a.h | 4 ---- gcc/config/avr/avr.h | 6 ------ gcc/config/convex/convex.h | 1 - gcc/config/d30v/d30v.h | 2 -- gcc/config/dsp16xx/dsp16xx.h | 1 - gcc/config/fr30/fr30.h | 1 - gcc/config/ia64/ia64.h | 2 -- gcc/config/m68hc11/m68hc11.h | 3 --- gcc/config/m88k/m88k.h | 1 - gcc/config/mips/mips.h | 6 ------ gcc/config/pdp11/pdp11.h | 1 - gcc/config/rs6000/rs6000.h | 6 ------ gcc/config/sparc/sparc.c | 4 ---- gcc/config/stormy16/stormy16.h | 2 -- gcc/config/xtensa/xtensa.h | 1 - gcc/vmsdbgout.c | 3 --- 17 files changed, 6 insertions(+), 44 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2de82d35e0..05eea8d72ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-03-03 Kaveh R. Ghazi + + * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, + m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, + stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. + 2002-03-03 Kaveh R. Ghazi * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in diff --git a/gcc/config/1750a/1750a.h b/gcc/config/1750a/1750a.h index d93d81fddcb..6e877568146 100644 --- a/gcc/config/1750a/1750a.h +++ b/gcc/config/1750a/1750a.h @@ -155,10 +155,6 @@ extern const char *const sectname[4]; need to check out the long-long opencodings ! */ #define LONG_LONG_TYPE_SIZE 64 -/* Define number of bits in char type. - (If undefined, default is one fourth of BITS_PER_WORD). */ -#define CHAR_TYPE_SIZE 16 - /* Define number of bits in float type. (If undefined, default is BITS_PER_WORD). */ #define FLOAT_TYPE_SIZE 32 diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 9b5b35f8740..60abfe2be66 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -194,12 +194,6 @@ extern int avr_enhanced_p; of macro must be at least 64. */ -#define CHAR_TYPE_SIZE 8 -/* A C expression for the size in bits of the type `char' on the - target machine. If you don't define this, the default is one - quarter of a word. (If this would be less than one storage unit, - it is rounded up to one unit.) */ - #define FLOAT_TYPE_SIZE 32 /* A C expression for the size in bits of the type `float' on the target machine. If you don't define this, the default is one word. */ diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index d662b2cc533..b94bb19effb 100644 --- a/gcc/config/convex/convex.h +++ b/gcc/config/convex/convex.h @@ -475,7 +475,6 @@ extern int target_flags; /* Define sizes of basic C types to conform to ordinary usage -- these types depend on BITS_PER_WORD otherwise. */ -#define CHAR_TYPE_SIZE 8 #define SHORT_TYPE_SIZE 16 #define INT_TYPE_SIZE 32 #define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32) diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index aa4f7187d15..565ed19f76b 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -213,8 +213,6 @@ do { \ #define LONG_LONG_TYPE_SIZE 64 -#define CHAR_TYPE_SIZE 8 - #define FLOAT_TYPE_SIZE 32 #define DOUBLE_TYPE_SIZE 64 diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index 8233b927544..c794b707e5d 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -368,7 +368,6 @@ extern int target_flags; /* LAYOUT OF SOURCE LANGUAGE DATA TYPES */ -#define CHAR_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16 #define INT_TYPE_SIZE 16 #define LONG_TYPE_SIZE 32 diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index 32ba387459e..e15c1e52a94 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -125,7 +125,6 @@ extern int target_flags; /*}}}*/ /*{{{ Layout of Source Language Data Types. */ -#define CHAR_TYPE_SIZE 8 #define SHORT_TYPE_SIZE 16 #define INT_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32 diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 50f7982ef32..0c343343406 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -355,8 +355,6 @@ while (0) #define LONG_LONG_TYPE_SIZE 64 -#define CHAR_TYPE_SIZE 8 - #define FLOAT_TYPE_SIZE 32 #define DOUBLE_TYPE_SIZE 64 diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h index 6afcf9a2173..a6be24fac8b 100644 --- a/gcc/config/m68hc11/m68hc11.h +++ b/gcc/config/m68hc11/m68hc11.h @@ -317,9 +317,6 @@ extern const struct processor_costs *m68hc11_cost; /* Size (bits) of the type "long long" on target machine */ #define LONG_LONG_TYPE_SIZE 64 -/* Size (bits) of the type "char" on target machine */ -#define CHAR_TYPE_SIZE 8 - /* A C expression for the size in bits of the type `float' on the target machine. If you don't define this, the default is one word. Don't use default: a word is only 16. */ diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index a6da552387f..d486ec64919 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -312,7 +312,6 @@ extern int flag_pic; /* -fpic */ /*** Storage Layout ***/ /* Sizes in bits of the various types. */ -#define CHAR_TYPE_SIZE 8 #define SHORT_TYPE_SIZE 16 #define INT_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 39862a35e90..af986a61f46 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1612,12 +1612,6 @@ do { \ words. */ #define LONG_LONG_TYPE_SIZE 64 -/* A C expression for the size in bits of the type `char' on the - target machine. If you don't define this, the default is one - quarter of a word. (If this would be less than one storage unit, - it is rounded up to one unit.) */ -#define CHAR_TYPE_SIZE BITS_PER_UNIT - /* A C expression for the size in bits of the type `float' on the target machine. If you don't define this, the default is one word. */ diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 2b6edd338bf..8f69ccf9ce5 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -131,7 +131,6 @@ extern int target_flags; /* TYPE SIZES */ -#define CHAR_TYPE_SIZE 8 #define SHORT_TYPE_SIZE 16 #define INT_TYPE_SIZE (TARGET_INT16 ? 16 : 32) #define LONG_TYPE_SIZE 32 diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index fccf3d374bb..9d64265125f 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -569,12 +569,6 @@ extern int rs6000_altivec_abi; words. */ #define LONG_LONG_TYPE_SIZE 64 -/* A C expression for the size in bits of the type `char' on the - target machine. If you don't define this, the default is one - quarter of a word. (If this would be less than one storage unit, - it is rounded up to one unit.) */ -#define CHAR_TYPE_SIZE BITS_PER_UNIT - /* A C expression for the size in bits of the type `float' on the target machine. If you don't define this, the default is one word. */ diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 63580912236..cd486222e17 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -6087,10 +6087,6 @@ sparc_assemble_integer (x, size, aligned_p) what kind of result this function returns. For non-C types, we pick the closest C type. */ -#ifndef CHAR_TYPE_SIZE -#define CHAR_TYPE_SIZE BITS_PER_UNIT -#endif - #ifndef SHORT_TYPE_SIZE #define SHORT_TYPE_SIZE (BITS_PER_UNIT * 2) #endif diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 6ebb43f1bb3..7fde3def2d6 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -144,8 +144,6 @@ do { \ #define LONG_LONG_TYPE_SIZE 64 -#define CHAR_TYPE_SIZE 8 - #define FLOAT_TYPE_SIZE 32 #define DOUBLE_TYPE_SIZE 64 diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 428ed4734a4..39a28782cea 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -253,7 +253,6 @@ extern unsigned xtensa_current_frame_size; #define LONG_TYPE_SIZE 32 #define MAX_LONG_TYPE_SIZE 32 #define LONG_LONG_TYPE_SIZE 64 -#define CHAR_TYPE_SIZE BITS_PER_UNIT #define FLOAT_TYPE_SIZE 32 #define DOUBLE_TYPE_SIZE 64 #define LONG_DOUBLE_TYPE_SIZE 64 diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c index 8b19775ddd0..cad6323f3b4 100644 --- a/gcc/vmsdbgout.c +++ b/gcc/vmsdbgout.c @@ -79,9 +79,6 @@ dst_file_info_entry; are only defaults. If the sizes are different for your target, you should override these values by defining the appropriate symbols in your tm.h file. */ -#ifndef CHAR_TYPE_SIZE -#define CHAR_TYPE_SIZE BITS_PER_UNIT -#endif #ifndef PTR_SIZE #define PTR_SIZE 4 /* Must be 32 bits for VMS debug info */ #endif -- 2.30.2