aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-03-23 11:31:53 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-03-23 11:31:53 -0800
commite419152dc72f54fd10741a84db06526818d25e42 (patch)
tree54a12499854d7d1634c162828d8d3b3fb0977181
parent8712e5c6f316ecc05df846c3c4488005b2d1f9ea (diff)
downloadgcc-e419152dc72f54fd10741a84db06526818d25e42.zip
gcc-e419152dc72f54fd10741a84db06526818d25e42.tar.gz
gcc-e419152dc72f54fd10741a84db06526818d25e42.tar.bz2
(RETURN_IN_MEMORY): Delete struct and union references.
From-SVN: r3854
-rw-r--r--gcc/config/alpha/alpha.h1
-rw-r--r--gcc/config/i386/sysv4.h3
-rw-r--r--gcc/config/mips/mips.h4
-rw-r--r--gcc/config/rs6000/rs6000.h3
4 files changed, 3 insertions, 8 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 298b999..1907b30 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -674,7 +674,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
#define RETURN_IN_MEMORY(TYPE) \
(TYPE_MODE (TYPE) == BLKmode \
- || TREE_CODE (TYPE) == RECORD_TYPE || TREE_CODE (TYPE) == UNION_TYPE \
|| (TREE_CODE (TYPE) == INTEGER_TYPE && TYPE_PRECISION (TYPE) > 64))
/* 1 if N is a possible register number for a function value
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index 9cc9925..094de46 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -31,8 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef RETURN_IN_MEMORY
#define RETURN_IN_MEMORY(TYPE) \
- (TYPE_MODE (TYPE) == BLKmode \
- || TREE_CODE (TYPE) == RECORD_TYPE || TREE_CODE(TYPE) == UNION_TYPE)
+ (TYPE_MODE (TYPE) == BLKmode)
/* Define which macros to predefine. __svr4__ is our extension. */
/* This used to define X86, but james@bigtex.cactus.org says that
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index d56a8bf..2e67e63 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1769,9 +1769,7 @@ extern struct mips_frame_info current_frame_info;
to give us MIPS cc compatibility. */
#define RETURN_IN_MEMORY(TYPE) \
- ((TYPE_MODE (TYPE) == BLKmode) \
- || (TREE_CODE (TYPE) == RECORD_TYPE) || (TREE_CODE (TYPE) == UNION_TYPE))
-
+ (TYPE_MODE (TYPE) == BLKmode)
/* A code distinguishing the floating point format of the target
machine. There are three defined values: IEEE_FLOAT_FORMAT,
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 7e8e0cd..be5de19 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -644,8 +644,7 @@ enum reg_class { NO_REGS, BASE_REGS, GENERAL_REGS, FLOAT_REGS,
For the RS/6000, any structure or union type is returned in memory. */
#define RETURN_IN_MEMORY(TYPE) \
- (TYPE_MODE (TYPE) == BLKmode \
- || TREE_CODE (TYPE) == RECORD_TYPE || TREE_CODE (TYPE) == UNION_TYPE)
+ (TYPE_MODE (TYPE) == BLKmode)
/* 1 if N is a possible register number for a function value
as seen by the caller.