aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-03-23 11:35:31 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-03-23 11:35:31 -0800
commit40f32220fc621fb7fe877035dbe9e627b26d8f23 (patch)
tree88da7417850ca81b54c3a4af58203875fdb95397
parent59d7764f95a1c95f7b96dadba0935c7182b7c370 (diff)
downloadgcc-40f32220fc621fb7fe877035dbe9e627b26d8f23.zip
gcc-40f32220fc621fb7fe877035dbe9e627b26d8f23.tar.gz
gcc-40f32220fc621fb7fe877035dbe9e627b26d8f23.tar.bz2
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
From-SVN: r3856
-rw-r--r--gcc/config/h8300/h8300.h4
-rw-r--r--gcc/config/i386/386bsd.h4
-rw-r--r--gcc/config/i386/linux.h4
-rw-r--r--gcc/config/i386/mach.h4
-rw-r--r--gcc/config/i386/osfrose.h4
-rw-r--r--gcc/config/i860/mach.h4
-rw-r--r--gcc/config/i960/i960.h4
-rw-r--r--gcc/config/m68k/hp2bsd.h4
-rw-r--r--gcc/config/m68k/hp3bsd.h4
9 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index e9daedc..5dc6cbe 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 7fd674d..f7fbac1 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 be94c2e..5e635d0 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 964f451..595ac08 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 e0600a7..cbbc8c2 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 7159259..b81cb6f9 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 01d2c5e..5147539 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 dc9f986..7c5ebd3 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 758f5a8..90a9c0f 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