Commit 9a571cfd by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent ca7558fc
2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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 <ghazi@caip.rutgers.edu>
* attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof. lieu of explicit sizeof/sizeof.
* i386.c (override_options, ix86_init_mmx_sse_builtins, * i386.c (override_options, ix86_init_mmx_sse_builtins,
......
...@@ -155,10 +155,6 @@ extern const char *const sectname[4]; ...@@ -155,10 +155,6 @@ extern const char *const sectname[4];
need to check out the long-long opencodings ! */ need to check out the long-long opencodings ! */
#define LONG_LONG_TYPE_SIZE 64 #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. /* Define number of bits in float type.
(If undefined, default is BITS_PER_WORD). */ (If undefined, default is BITS_PER_WORD). */
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
......
...@@ -194,12 +194,6 @@ extern int avr_enhanced_p; ...@@ -194,12 +194,6 @@ extern int avr_enhanced_p;
of macro must be at least 64. */ 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 #define FLOAT_TYPE_SIZE 32
/* A C expression for the size in bits of the type `float' on the /* 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. */ target machine. If you don't define this, the default is one word. */
......
...@@ -475,7 +475,6 @@ extern int target_flags; ...@@ -475,7 +475,6 @@ extern int target_flags;
/* Define sizes of basic C types to conform to ordinary usage -- these /* Define sizes of basic C types to conform to ordinary usage -- these
types depend on BITS_PER_WORD otherwise. */ types depend on BITS_PER_WORD otherwise. */
#define CHAR_TYPE_SIZE 8
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 32 #define INT_TYPE_SIZE 32
#define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32) #define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32)
......
...@@ -213,8 +213,6 @@ do { \ ...@@ -213,8 +213,6 @@ do { \
#define LONG_LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64
#define CHAR_TYPE_SIZE 8
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 64 #define DOUBLE_TYPE_SIZE 64
......
...@@ -368,7 +368,6 @@ extern int target_flags; ...@@ -368,7 +368,6 @@ extern int target_flags;
/* LAYOUT OF SOURCE LANGUAGE DATA TYPES */ /* LAYOUT OF SOURCE LANGUAGE DATA TYPES */
#define CHAR_TYPE_SIZE 16
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 16 #define INT_TYPE_SIZE 16
#define LONG_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32
......
...@@ -125,7 +125,6 @@ extern int target_flags; ...@@ -125,7 +125,6 @@ extern int target_flags;
/*}}}*/ /*}}}*/
/*{{{ Layout of Source Language Data Types. */ /*{{{ Layout of Source Language Data Types. */
#define CHAR_TYPE_SIZE 8
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 32 #define INT_TYPE_SIZE 32
#define LONG_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32
......
...@@ -355,8 +355,6 @@ while (0) ...@@ -355,8 +355,6 @@ while (0)
#define LONG_LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64
#define CHAR_TYPE_SIZE 8
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 64 #define DOUBLE_TYPE_SIZE 64
......
...@@ -317,9 +317,6 @@ extern const struct processor_costs *m68hc11_cost; ...@@ -317,9 +317,6 @@ extern const struct processor_costs *m68hc11_cost;
/* Size (bits) of the type "long long" on target machine */ /* Size (bits) of the type "long long" on target machine */
#define LONG_LONG_TYPE_SIZE 64 #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 /* 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. target machine. If you don't define this, the default is one word.
Don't use default: a word is only 16. */ Don't use default: a word is only 16. */
......
...@@ -312,7 +312,6 @@ extern int flag_pic; /* -fpic */ ...@@ -312,7 +312,6 @@ extern int flag_pic; /* -fpic */
/*** Storage Layout ***/ /*** Storage Layout ***/
/* Sizes in bits of the various types. */ /* Sizes in bits of the various types. */
#define CHAR_TYPE_SIZE 8
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 32 #define INT_TYPE_SIZE 32
#define LONG_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32
......
...@@ -1612,12 +1612,6 @@ do { \ ...@@ -1612,12 +1612,6 @@ do { \
words. */ words. */
#define LONG_LONG_TYPE_SIZE 64 #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 /* 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 target machine. If you don't define this, the default is one
word. */ word. */
......
...@@ -131,7 +131,6 @@ extern int target_flags; ...@@ -131,7 +131,6 @@ extern int target_flags;
/* TYPE SIZES */ /* TYPE SIZES */
#define CHAR_TYPE_SIZE 8
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE (TARGET_INT16 ? 16 : 32) #define INT_TYPE_SIZE (TARGET_INT16 ? 16 : 32)
#define LONG_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32
......
...@@ -569,12 +569,6 @@ extern int rs6000_altivec_abi; ...@@ -569,12 +569,6 @@ extern int rs6000_altivec_abi;
words. */ words. */
#define LONG_LONG_TYPE_SIZE 64 #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 /* 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 target machine. If you don't define this, the default is one
word. */ word. */
......
...@@ -6087,10 +6087,6 @@ sparc_assemble_integer (x, size, aligned_p) ...@@ -6087,10 +6087,6 @@ sparc_assemble_integer (x, size, aligned_p)
what kind of result this function returns. For non-C types, we pick what kind of result this function returns. For non-C types, we pick
the closest C type. */ the closest C type. */
#ifndef CHAR_TYPE_SIZE
#define CHAR_TYPE_SIZE BITS_PER_UNIT
#endif
#ifndef SHORT_TYPE_SIZE #ifndef SHORT_TYPE_SIZE
#define SHORT_TYPE_SIZE (BITS_PER_UNIT * 2) #define SHORT_TYPE_SIZE (BITS_PER_UNIT * 2)
#endif #endif
......
...@@ -144,8 +144,6 @@ do { \ ...@@ -144,8 +144,6 @@ do { \
#define LONG_LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64
#define CHAR_TYPE_SIZE 8
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 64 #define DOUBLE_TYPE_SIZE 64
......
...@@ -253,7 +253,6 @@ extern unsigned xtensa_current_frame_size; ...@@ -253,7 +253,6 @@ extern unsigned xtensa_current_frame_size;
#define LONG_TYPE_SIZE 32 #define LONG_TYPE_SIZE 32
#define MAX_LONG_TYPE_SIZE 32 #define MAX_LONG_TYPE_SIZE 32
#define LONG_LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64
#define CHAR_TYPE_SIZE BITS_PER_UNIT
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 64 #define DOUBLE_TYPE_SIZE 64
#define LONG_DOUBLE_TYPE_SIZE 64 #define LONG_DOUBLE_TYPE_SIZE 64
......
...@@ -79,9 +79,6 @@ dst_file_info_entry; ...@@ -79,9 +79,6 @@ dst_file_info_entry;
are only defaults. If the sizes are different for your target, you should 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 override these values by defining the appropriate symbols in your tm.h
file. */ file. */
#ifndef CHAR_TYPE_SIZE
#define CHAR_TYPE_SIZE BITS_PER_UNIT
#endif
#ifndef PTR_SIZE #ifndef PTR_SIZE
#define PTR_SIZE 4 /* Must be 32 bits for VMS debug info */ #define PTR_SIZE 4 /* Must be 32 bits for VMS debug info */
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment