]> gcc.gnu.org Git - gcc.git/commitdiff
arc.h: Define PROMOTE_PROTOTYPES to 1.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 2 Aug 1999 23:19:33 +0000 (16:19 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 2 Aug 1999 23:19:33 +0000 (16:19 -0700)
        * 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

18 files changed:
gcc/config/1750a/1750a.h
gcc/config/arc/arc.h
gcc/config/convex/convex.h
gcc/config/dsp16xx/dsp16xx.h
gcc/config/fx80/fx80.h
gcc/config/gmicro/gmicro.h
gcc/config/i370/i370.h
gcc/config/i386/i386.h
gcc/config/i860/paragon.h
gcc/config/m32r/m32r.h
gcc/config/m68k/m68k.h
gcc/config/m88k/m88k.h
gcc/config/mips/mips.h
gcc/config/pa/pa.h
gcc/config/pyr/pyr.h
gcc/config/sparc/sparc.h
gcc/config/tahoe/tahoe.h
gcc/config/we32k/we32k.h

index 185dd1e7562e6cdf74873ac119a60f1827f66c88..e341842c84443a60752db9635f503c701c920f95 100644 (file)
@@ -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
index 07b9a828fe229ffbdb20933a35186deacd94af29..9df6edc7af4a7f51c7a7a83346f44f0ac10abaa9 100644 (file)
@@ -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
index f455f961c4aa81fe73489c2d550576c5d85b9bf2..4e4a1e3dd466383b8b065cd8f3374b10442926c7 100644 (file)
@@ -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
index f48de0968ca385ed9a081c8d0ef467ece2ee92e8..320a2a120df66904f3d6ee85993538b4c3e1c967 100644 (file)
@@ -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
index 3b5d5807ee666412967031cdbf98966f54328285..b69f0b06fb44e5aac2f257f1577d47f5d3e9ab7d 100644 (file)
@@ -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
index 789ca8439824aef7343770c4879fe8022500f0ee..b12d6c0231fc2be96a8f2f05484119beafbd2f3b 100644 (file)
@@ -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
index c37249a346c66d143ae7512a971dc86e2c973875..dcfd46372f95a722bce5e0ae549bfde64a6c1252 100644 (file)
@@ -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.  */
 
index 5e27fd800349053d44c37031b6871e2c386684a7..a5c387a29053ba255442af822c0a9a036e755d46 100644 (file)
@@ -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
index 493b5abce768247d26ba3679aa171face44eee2a..ba09af3941b63a5a4245dbe43390b86428f85386 100644 (file)
@@ -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.  */
index d57e50b5957818a54bf251a87318985ffdfd382b..c0df79fd2d6b87ab0d65928a2cc056130ef2ff96 100644 (file)
@@ -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
index 13926c1f1041ae13d58b0c3112ef52b1537f0f64..bbe997a8c739bc75e43c080bd757f8ffc5451ba4 100644 (file)
@@ -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
index 2fa1c94bd8c1825857f03216d9e81626e422ecfb..0ea0ef6df8073593520e6a86d1095520c65d4e04 100644 (file)
@@ -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.  */
index ed900962c4e434523e2261ad89b5171ef8934e3f..7886ff15782f415df0f2d720761f12ceb107246f 100644 (file)
@@ -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.  */
index be9115288eee77efd6cf4372e1962701f54e6347..fe51937f70f4f5a54fc718c04bdc4aee1076e393 100644 (file)
@@ -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
index e5ffcb8361de4070a5b712a3d67e481db769ebd5..f40d03008323b71502a5c2874f98d1d2de8ee134 100644 (file)
@@ -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 */
index e42554dddda931d1db91b4e9f767d95c978d643f..c322378c25fec4c233d1599a8c6c91cf569adb75 100644 (file)
@@ -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. */
index 29ac01392e724e6514050c68913f890c0299e510..83063318959c8f2563f3ec034c398e747abec753 100644 (file)
@@ -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 */
 
index 0859ec1cdda5f4e176b5f569f88926d8a689c4f7..af7c7ff774de0a8c9b2e0a53f574782ca42063d9 100644 (file)
@@ -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
This page took 0.091029 seconds and 5 git commands to generate.