From: Kaveh R. Ghazi Date: Sun, 3 Mar 2002 15:37:32 +0000 (+0000) Subject: 1750a.h, [...] (CHAR_TYPE_SIZE): Delete. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a571cfd9db11887adbf8917aa1641047bcfd012;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2de82d..05eea8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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 lieu of explicit sizeof/sizeof. * i386.c (override_options, ix86_init_mmx_sse_builtins, diff --git a/gcc/config/1750a/1750a.h b/gcc/config/1750a/1750a.h index d93d81f..6e87756 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 9b5b35f..60abfe2 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 d662b2c..b94bb19 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 aa4f718..565ed19 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 8233b92..c794b70 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 32ba387..e15c1e5 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 50f7982..0c34334 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 6afcf9a..a6be24f 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 a6da552..d486ec6 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 39862a35..af986a6 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 2b6edd3..8f69ccf 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 fccf3d3..9d64265 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 6358091..cd48622 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 6ebb43f..7fde3de 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 428ed47..39a2878 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 8b19775..cad6323f 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