projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b49e978
)
* (RETURN_IN_MEMORY): Handle BLKmode values.
author
Doug Evans
<dje@gnu.org>
Fri, 12 Mar 1993 00:11:19 +0000
(
00:11
+0000)
committer
Doug Evans
<dje@gnu.org>
Fri, 12 Mar 1993 00:11:19 +0000
(
00:11
+0000)
From-SVN: r3711
gcc/config/h8300/h8300.h
patch
|
blob
|
history
diff --git
a/gcc/config/h8300/h8300.h
b/gcc/config/h8300/h8300.h
index
65ff8e5
..
e9daedc
100644
(file)
--- a/
gcc/config/h8300/h8300.h
+++ b/
gcc/config/h8300/h8300.h
@@
-458,7
+458,8
@@
enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA
#define STRUCT_VALUE_INCOMING 0
/* Return true if X should be returned in memory. */
-#define RETURN_IN_MEMORY(X) (GET_MODE_SIZE (TYPE_MODE (X)) > 4)
+#define RETURN_IN_MEMORY(X) \
+ (TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4)
/* When defined, the compiler allows registers explicitly used in the
rtl to be used as spill registers but prevents the compiler from