aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-11 14:58:14 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-11 14:58:14 -0500
commit5788afc6aadb9f7fadbf9a71c357b68d460febdf (patch)
treeee73aa467c83ff63696096f66b4a4d314ee4dd72
parent668443c98adf0e658a3b2cff251a01ee781f5033 (diff)
downloadgcc-5788afc6aadb9f7fadbf9a71c357b68d460febdf.zip
gcc-5788afc6aadb9f7fadbf9a71c357b68d460febdf.tar.gz
gcc-5788afc6aadb9f7fadbf9a71c357b68d460febdf.tar.bz2
(RETURN_IN_MEMORY): Fix error in last change.
From-SVN: r8906
-rw-r--r--gcc/config/m68k/mot3300.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index 87ca5af..c355519 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -1,7 +1,7 @@
/* Definitions of target machine for GNU compiler,
SysV68 Motorola 3300 Delta Series.
Copyright (C) 1987, 1993, 1994, 1995 Free Software Foundation, Inc.
- Coptributed by Abramo and Roberto Bagnara (bagnara@dipisa.di.unipi.it)
+ Contributed by Abramo and Roberto Bagnara (bagnara@dipisa.di.unipi.it)
based on Alex Crain's 3B1 definitions.
Maintained by Philippe De Muyter (phdm@info.ucl.ac.be).
@@ -173,8 +173,9 @@ output_file_directive ((FILE), main_input_filename)
/* This will return small structs in d0. */
#define RETURN_IN_MEMORY(type) \
- (AGGREGATE_TYPE_P (type) \
- && GET_MODE_SIZE (TYPE_MODE (type)) > UNITS_PER_WORD)
+ ((TYPE_MODE (type) == BLKmode) \
+ || (AGGREGATE_TYPE_P (type) \
+ && GET_MODE_SIZE (TYPE_MODE (type)) > UNITS_PER_WORD))
/* Don't default to pcc-struct-return, because we have already specified
exactly how to return structures in the RETURN_IN_MEMORY macro. */