(RETURN_IN_MEMORY): Fix error in last change.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 11 Feb 1995 19:58:14 +0000 (14:58 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 11 Feb 1995 19:58:14 +0000 (14:58 -0500)
From-SVN: r8906

gcc/config/m68k/mot3300.h

index 87ca5af927612b8ffac19a01a0b0b149136baa7e..c355519c091eef2645be4854b6c983d7a5911236 100644 (file)
@@ -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.  */