From: Jim Wilson Date: Tue, 23 Mar 1993 19:35:31 +0000 (-0800) Subject: (DEFAULT_PCC_STRUCT_RETURN): Define to 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40f32220fc621fb7fe877035dbe9e627b26d8f23;p=gcc.git (DEFAULT_PCC_STRUCT_RETURN): Define to 0. From-SVN: r3856 --- diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index e9daedcc615..5dc6cbe006f 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -461,6 +461,10 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA #define RETURN_IN_MEMORY(X) \ (TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4) +/* Don't default to pcc-struct-return, because we have already specified + exactly how to return structures in the RETURN_IN_MEMORY macro. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 + /* When defined, the compiler allows registers explicitly used in the rtl to be used as spill registers but prevents the compiler from extending the lifetime of these registers. */ diff --git a/gcc/config/i386/386bsd.h b/gcc/config/i386/386bsd.h index 7fd674d3765..f7fbac12425 100644 --- a/gcc/config/i386/386bsd.h +++ b/gcc/config/i386/386bsd.h @@ -75,3 +75,7 @@ necessary when compiling PIC code. */ #define JUMP_TABLES_IN_TEXT_SECTION + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index be94c2e6801..5e635d0c5f9 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -136,3 +136,7 @@ necessary when compiling PIC code. */ #define JUMP_TABLES_IN_TEXT_SECTION + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i386/mach.h b/gcc/config/i386/mach.h index 964f4518e1b..595ac080308 100644 --- a/gcc/config/i386/mach.h +++ b/gcc/config/i386/mach.h @@ -17,3 +17,7 @@ /* Make stddef.h agree with types.h. */ #define SIZE_TYPE "long int" + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index e0600a7a048..cbbc8c20ba7 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -376,3 +376,7 @@ while (0) /* Generate calls to memcpy, etc., not bcopy, etc. */ #define TARGET_MEM_FUNCTIONS + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i860/mach.h b/gcc/config/i860/mach.h index 71592592202..b81cb6f9908 100644 --- a/gcc/config/i860/mach.h +++ b/gcc/config/i860/mach.h @@ -10,3 +10,7 @@ /* Specify extra dir to search for include files. */ #define SYSTEM_INCLUDE_DIR "/usr/mach/include" + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 01d2c5ef1a1..5147539f99f 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -820,6 +820,10 @@ extern struct rtx_def *i960_function_arg (); #define RETURN_IN_MEMORY(TYPE) \ (TYPE_MODE (TYPE) == BLKmode || int_size_in_bytes (TYPE) > 16) +/* Don't default to pcc-struct-return, because we have already specified + exactly how to return structures in the RETURN_IN_MEMORY macro. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 + /* For an arg passed partly in registers and partly in memory, this is the number of registers used. This never happens on 80960. */ diff --git a/gcc/config/m68k/hp2bsd.h b/gcc/config/m68k/hp2bsd.h index dc9f986f0f3..7c5ebd381b3 100644 --- a/gcc/config/m68k/hp2bsd.h +++ b/gcc/config/m68k/hp2bsd.h @@ -67,3 +67,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define UMODSI3_LIBCALL "*ulrem" #define MULSI3_LIBCALL "*lmul" #define UMULSI3_LIBCALL "*ulmul" + +/* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/m68k/hp3bsd.h b/gcc/config/m68k/hp3bsd.h index 758f5a881c3..90a9c0ffe52 100644 --- a/gcc/config/m68k/hp3bsd.h +++ b/gcc/config/m68k/hp3bsd.h @@ -38,3 +38,7 @@ doesn't support it. */ #define DBX_NO_XREFS +/ +* Don't default to pcc-struct-return, because gcc is the only compiler, and + we want to retain compatibility with older gcc versions. */ +#define DEFAULT_PCC_STRUCT_RETURN 0