diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-02 23:19:33 +0000 | 
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-02 23:19:33 +0000 | 
| commit | 9dbd91d85ae8e076c89bd3406f6c4fb4d99d92d6 (patch) | |
| tree | ed511889480a6f35af064a8cf26dbfbd198ba9bd | |
| parent | 635ff2b73ca9e68ef0509008c9d261b4efc55f8d (diff) | |
| download | ppe42-gcc-9dbd91d85ae8e076c89bd3406f6c4fb4d99d92d6.tar.gz ppe42-gcc-9dbd91d85ae8e076c89bd3406f6c4fb4d99d92d6.zip  | |
        * 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28421 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/config/1750a/1750a.h | 4 | ||||
| -rw-r--r-- | gcc/config/arc/arc.h | 2 | ||||
| -rw-r--r-- | gcc/config/convex/convex.h | 2 | ||||
| -rw-r--r-- | gcc/config/dsp16xx/dsp16xx.h | 2 | ||||
| -rw-r--r-- | gcc/config/fx80/fx80.h | 2 | ||||
| -rw-r--r-- | gcc/config/gmicro/gmicro.h | 2 | ||||
| -rw-r--r-- | gcc/config/i370/i370.h | 2 | ||||
| -rw-r--r-- | gcc/config/i386/i386.h | 2 | ||||
| -rw-r--r-- | gcc/config/i860/paragon.h | 6 | ||||
| -rw-r--r-- | gcc/config/m32r/m32r.h | 2 | ||||
| -rw-r--r-- | gcc/config/m68k/m68k.h | 2 | ||||
| -rw-r--r-- | gcc/config/m88k/m88k.h | 6 | ||||
| -rw-r--r-- | gcc/config/mips/mips.h | 2 | ||||
| -rw-r--r-- | gcc/config/pa/pa.h | 2 | ||||
| -rw-r--r-- | gcc/config/pyr/pyr.h | 2 | ||||
| -rw-r--r-- | gcc/config/sparc/sparc.h | 2 | ||||
| -rw-r--r-- | gcc/config/tahoe/tahoe.h | 2 | ||||
| -rw-r--r-- | gcc/config/we32k/we32k.h | 2 | 
18 files changed, 20 insertions, 26 deletions
diff --git a/gcc/config/1750a/1750a.h b/gcc/config/1750a/1750a.h index 185dd1e7562..e341842c844 100644 --- a/gcc/config/1750a/1750a.h +++ b/gcc/config/1750a/1750a.h @@ -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  /* When a prototype says `char' or `short', really pass an `int'.  -   1750: for now, `char' is 16 bits wide anyway. -   #define PROMOTE_PROTOTYPES */ +   1750: for now, `char' is 16 bits wide anyway.  */ +#define PROMOTE_PROTOTYPES 0  /* Specify the machine mode that pointers have.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 07b9a828fe2..9df6edc7af4 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -634,7 +634,7 @@ extern enum reg_class arc_regno_reg_class[];  /* Function argument passing.  */  /* 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     arguments will be computed and placed into the variable diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index f455f961c4a..4e4a1e3dd46 100644 --- a/gcc/config/convex/convex.h +++ b/gcc/config/convex/convex.h @@ -1077,7 +1077,7 @@ enum reg_class {  #define NO_FUNCTION_CSE  /* 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index f48de0968ca..320a2a120df 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -1940,7 +1940,7 @@ const_section ()                                                   \  #define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1  /* 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 */  #define Pmode  QImode diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h index 3b5d5807ee6..b69f0b06fb4 100644 --- a/gcc/config/fx80/fx80.h +++ b/gcc/config/fx80/fx80.h @@ -858,7 +858,7 @@ extern enum reg_class regno_reg_class[];  #define STORE_FLAG_VALUE -1  /* 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/gmicro/gmicro.h b/gcc/config/gmicro/gmicro.h index 789ca843982..b12d6c0231f 100644 --- a/gcc/config/gmicro/gmicro.h +++ b/gcc/config/gmicro/gmicro.h @@ -1160,7 +1160,7 @@ extern enum reg_class regno_reg_class[];  /* #define STORE_FLAG_VALUE -1 */  /* 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/i370/i370.h b/gcc/config/i370/i370.h index c37249a346c..dcfd46372f9 100644 --- a/gcc/config/i370/i370.h +++ b/gcc/config/i370/i370.h @@ -868,7 +868,7 @@ enum reg_class  /* 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.  */ diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 5e27fd80034..a5c387a2905 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1958,7 +1958,7 @@ while (0)  /* When a prototype says `char' or `short', really pass 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/i860/paragon.h b/gcc/config/i860/paragon.h index 493b5abce76..ba09af3941b 100644 --- a/gcc/config/i860/paragon.h +++ b/gcc/config/i860/paragon.h @@ -174,12 +174,6 @@ Boston, MA 02111-1307, USA.  */   */  #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     than a word from memory into a register also zero-extends the     value to the whole  register.  */ diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index d57e50b5957..c0df79fd2d6 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -813,7 +813,7 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size)  /* Function argument passing.  */  /* 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     arguments will be computed and placed into the variable diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 13926c1f104..bbe997a8c73 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1655,7 +1655,7 @@ __transfer_from_trampoline ()					\  #define STORE_FLAG_VALUE -1  /* 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 2fa1c94bd8c..0ea0ef6df80 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -198,13 +198,13 @@ extern char * reg_names[];     Redefined in sysv4.h, and luna.h.  */  #define VERSION_INFO1	"m88k, "  #ifndef VERSION_INFO2 -#define VERSION_INFO2   "$Revision: 1.13 $" +#define VERSION_INFO2   "$Revision: 1.14 $"  #endif  #ifndef VERSION_STRING  #define VERSION_STRING  version_string  #ifdef __STDC__ -#define TM_RCS_ID      "@(#)" __FILE__ " $Revision: 1.13 $ " __DATE__ +#define TM_RCS_ID      "@(#)" __FILE__ " $Revision: 1.14 $ " __DATE__  #else  #define TM_RCS_ID      "$What: <@(#) m88k.h,v	1.1.1.2.2.2> $"  #endif  /* __STDC__ */ @@ -1591,7 +1591,7 @@ extern struct rtx_def *m88k_va_arg ();     `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 PROMOTE_PROTOTYPES 1  /* Define this macro if a float function always returns float     (even in traditional mode).  Redefined in luna.h.  */ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index ed900962c4e..7886ff15782 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1497,7 +1497,7 @@ do {							\     avoiding errors in certain cases of mismatch, it also makes for     better code on certain machines. */ -#define PROMOTE_PROTOTYPES +#define PROMOTE_PROTOTYPES 1  /* Define if operations between registers always perform the operation     on the full register even if a narrower mode is specified.  */ diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index be9115288ee..fe51937f70f 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1628,7 +1628,7 @@ extern struct rtx_def *hppa_legitimize_address ();  #define STORE_FLAG_VALUE 1  /* 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.     After generation of rtl, the compiler makes no further distinction diff --git a/gcc/config/pyr/pyr.h b/gcc/config/pyr/pyr.h index e5ffcb8361d..f40d0300832 100644 --- a/gcc/config/pyr/pyr.h +++ b/gcc/config/pyr/pyr.h @@ -1045,7 +1045,7 @@ extern int current_function_calls_alloca;  /* #define NO_FUNCTION_CSE */  /* 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. */  /* #define STORE_FLAG_VALUE */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index e42554dddda..c322378c25f 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2543,7 +2543,7 @@ do {                                                                    \  #define STORE_FLAG_VALUE 1  /* 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     few bits. */ diff --git a/gcc/config/tahoe/tahoe.h b/gcc/config/tahoe/tahoe.h index 29ac01392e7..83063318959 100644 --- a/gcc/config/tahoe/tahoe.h +++ b/gcc/config/tahoe/tahoe.h @@ -627,7 +627,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP_REG,ALL_REGS,LIM_REG_CLASSES};  /* pass chars as ints */ -#define PROMOTE_PROTOTYPES +#define PROMOTE_PROTOTYPES 1  /* pointers can be represented by an si mode expression */ diff --git a/gcc/config/we32k/we32k.h b/gcc/config/we32k/we32k.h index 0859ec1cdda..af7c7ff774d 100644 --- a/gcc/config/we32k/we32k.h +++ b/gcc/config/we32k/we32k.h @@ -664,7 +664,7 @@ enum reg_class { NO_REGS, GENERAL_REGS,  #define STORE_FLAG_VALUE -1  /* 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.     After generation of rtl, the compiler makes no further distinction  | 

