Commit cb560352 by Richard Henderson

arc.h: Define PROMOTE_PROTOTYPES to 1.

        * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
        * config/convex/convex.h: Ditto.
        * config/dsp16xx/dsp16xx.h: Ditto.
        * config/fx80/fx80.h: Ditto.
        * config/gmicro/gmicro.h: Ditto.
        * config/i370/i370.h: Ditto.
        * config/i386/i386.h: Ditto.
        * config/m32r/m32r.h: Ditto.
        * config/m68k/m68k.h: Ditto.
        * config/m88k/m88k.h: Ditto.
        * config/mips/mips.h: Ditto.
        * config/pa/pa.h: Ditto.
        * config/pyr/pyr.h: Ditto.
        * config/tahoe/tahoe.h: Ditto.
        * config/we32k/we32k.h: Ditto.

        * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
        based on arch size.

        * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.

From-SVN: r28421
parent 7d473569
...@@ -879,8 +879,8 @@ enum reg_class { NO_REGS, R2, R0_1, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLA ...@@ -879,8 +879,8 @@ enum reg_class { NO_REGS, R2, R0_1, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLA
#define STORE_FLAG_VALUE 1 #define STORE_FLAG_VALUE 1
/* When a prototype says `char' or `short', really pass an `int'. /* When a prototype says `char' or `short', really pass an `int'.
1750: for now, `char' is 16 bits wide anyway. 1750: for now, `char' is 16 bits wide anyway. */
#define PROMOTE_PROTOTYPES */ #define PROMOTE_PROTOTYPES 0
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -634,7 +634,7 @@ extern enum reg_class arc_regno_reg_class[]; ...@@ -634,7 +634,7 @@ extern enum reg_class arc_regno_reg_class[];
/* Function argument passing. */ /* Function argument passing. */
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* If defined, the maximum amount of space required for outgoing /* If defined, the maximum amount of space required for outgoing
arguments will be computed and placed into the variable arguments will be computed and placed into the variable
......
...@@ -1077,7 +1077,7 @@ enum reg_class { ...@@ -1077,7 +1077,7 @@ enum reg_class {
#define NO_FUNCTION_CSE #define NO_FUNCTION_CSE
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -1940,7 +1940,7 @@ const_section () \ ...@@ -1940,7 +1940,7 @@ const_section () \
#define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1 #define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* An alias for the machine mode used for pointers */ /* An alias for the machine mode used for pointers */
#define Pmode QImode #define Pmode QImode
......
...@@ -858,7 +858,7 @@ extern enum reg_class regno_reg_class[]; ...@@ -858,7 +858,7 @@ extern enum reg_class regno_reg_class[];
#define STORE_FLAG_VALUE -1 #define STORE_FLAG_VALUE -1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -1160,7 +1160,7 @@ extern enum reg_class regno_reg_class[]; ...@@ -1160,7 +1160,7 @@ extern enum reg_class regno_reg_class[];
/* #define STORE_FLAG_VALUE -1 */ /* #define STORE_FLAG_VALUE -1 */
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -868,7 +868,7 @@ enum reg_class ...@@ -868,7 +868,7 @@ enum reg_class
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Don't perform CSE on function addresses. */ /* Don't perform CSE on function addresses. */
......
...@@ -1958,7 +1958,7 @@ while (0) ...@@ -1958,7 +1958,7 @@ while (0)
/* When a prototype says `char' or `short', really pass an `int'. /* When a prototype says `char' or `short', really pass an `int'.
(The 386 can't easily push less than an int.) */ (The 386 can't easily push less than an int.) */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -174,12 +174,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -174,12 +174,6 @@ Boston, MA 02111-1307, USA. */
*/ */
#define ASM_STABS_OP "//.stabs" #define ASM_STABS_OP "//.stabs"
/* Define this macro if an argument declared as `char' or `short' in a
prototype should actually be passed as an `int'. In addition to
avoiding errors in certain cases of mismatch, it also makes for
better code on certain machines. */
/*#define PROMOTE_PROTOTYPES*/
/* Define this macro if an instruction to load a value narrower /* Define this macro if an instruction to load a value narrower
than a word from memory into a register also zero-extends the than a word from memory into a register also zero-extends the
value to the whole register. */ value to the whole register. */
......
...@@ -813,7 +813,7 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size) ...@@ -813,7 +813,7 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size)
/* Function argument passing. */ /* Function argument passing. */
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* If defined, the maximum amount of space required for outgoing /* If defined, the maximum amount of space required for outgoing
arguments will be computed and placed into the variable arguments will be computed and placed into the variable
......
...@@ -1655,7 +1655,7 @@ __transfer_from_trampoline () \ ...@@ -1655,7 +1655,7 @@ __transfer_from_trampoline () \
#define STORE_FLAG_VALUE -1 #define STORE_FLAG_VALUE -1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -198,13 +198,13 @@ extern char * reg_names[]; ...@@ -198,13 +198,13 @@ extern char * reg_names[];
Redefined in sysv4.h, and luna.h. */ Redefined in sysv4.h, and luna.h. */
#define VERSION_INFO1 "m88k, " #define VERSION_INFO1 "m88k, "
#ifndef VERSION_INFO2 #ifndef VERSION_INFO2
#define VERSION_INFO2 "$Revision: 1.13 $" #define VERSION_INFO2 "$Revision: 1.14 $"
#endif #endif
#ifndef VERSION_STRING #ifndef VERSION_STRING
#define VERSION_STRING version_string #define VERSION_STRING version_string
#ifdef __STDC__ #ifdef __STDC__
#define TM_RCS_ID "@(#)" __FILE__ " $Revision: 1.13 $ " __DATE__ #define TM_RCS_ID "@(#)" __FILE__ " $Revision: 1.14 $ " __DATE__
#else #else
#define TM_RCS_ID "$What: <@(#) m88k.h,v 1.1.1.2.2.2> $" #define TM_RCS_ID "$What: <@(#) m88k.h,v 1.1.1.2.2.2> $"
#endif /* __STDC__ */ #endif /* __STDC__ */
...@@ -1591,7 +1591,7 @@ extern struct rtx_def *m88k_va_arg (); ...@@ -1591,7 +1591,7 @@ extern struct rtx_def *m88k_va_arg ();
`short' in a prototype should actually be passed as an `short' in a prototype should actually be passed as an
`int'. In addition to avoiding errors in certain cases of `int'. In addition to avoiding errors in certain cases of
mismatch, it also makes for better code on certain machines. */ mismatch, it also makes for better code on certain machines. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Define this macro if a float function always returns float /* Define this macro if a float function always returns float
(even in traditional mode). Redefined in luna.h. */ (even in traditional mode). Redefined in luna.h. */
......
...@@ -1497,7 +1497,7 @@ do { \ ...@@ -1497,7 +1497,7 @@ do { \
avoiding errors in certain cases of mismatch, it also makes for avoiding errors in certain cases of mismatch, it also makes for
better code on certain machines. */ better code on certain machines. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Define if operations between registers always perform the operation /* Define if operations between registers always perform the operation
on the full register even if a narrower mode is specified. */ on the full register even if a narrower mode is specified. */
......
...@@ -1628,7 +1628,7 @@ extern struct rtx_def *hppa_legitimize_address (); ...@@ -1628,7 +1628,7 @@ extern struct rtx_def *hppa_legitimize_address ();
#define STORE_FLAG_VALUE 1 #define STORE_FLAG_VALUE 1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
...@@ -1045,7 +1045,7 @@ extern int current_function_calls_alloca; ...@@ -1045,7 +1045,7 @@ extern int current_function_calls_alloca;
/* #define NO_FUNCTION_CSE */ /* #define NO_FUNCTION_CSE */
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* There are no flag store insns on a pyr. */ /* There are no flag store insns on a pyr. */
/* #define STORE_FLAG_VALUE */ /* #define STORE_FLAG_VALUE */
......
...@@ -2543,7 +2543,7 @@ do { \ ...@@ -2543,7 +2543,7 @@ do { \
#define STORE_FLAG_VALUE 1 #define STORE_FLAG_VALUE 1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES (TARGET_ARCH32)
/* Define this to be nonzero if shift instructions ignore all but the low-order /* Define this to be nonzero if shift instructions ignore all but the low-order
few bits. */ few bits. */
......
...@@ -627,7 +627,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP_REG,ALL_REGS,LIM_REG_CLASSES}; ...@@ -627,7 +627,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP_REG,ALL_REGS,LIM_REG_CLASSES};
/* pass chars as ints */ /* pass chars as ints */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* pointers can be represented by an si mode expression */ /* pointers can be represented by an si mode expression */
......
...@@ -664,7 +664,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, ...@@ -664,7 +664,7 @@ enum reg_class { NO_REGS, GENERAL_REGS,
#define STORE_FLAG_VALUE -1 #define STORE_FLAG_VALUE -1
/* When a prototype says `char' or `short', really pass an `int'. */ /* When a prototype says `char' or `short', really pass an `int'. */
#define PROMOTE_PROTOTYPES #define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
......
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