]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/expr.h
* (RETURN_IN_MEMORY): Handle BLKmode values.
[gcc.git] / gcc / expr.h
index f3a8cb594164ac2a1e374178216f9507c0df2d5e..39e29db40ac3fe1baf7e642d26038b4486919472 100644 (file)
@@ -225,12 +225,11 @@ enum direction {none, upward, downward};  /* Value has this type.  */
           && (FUNCTION_ARG_PADDING (MODE, TYPE)        \
               == MUST_PASS_IN_STACK_BAD_PADDING))))
 
-/* Nonzero if type TYPE should be returned in memory
-   (even though its mode is not BLKmode).
+/* Nonzero if type TYPE should be returned in memory.
    Most machines can use the following default definition.  */
 
 #ifndef RETURN_IN_MEMORY
-#define RETURN_IN_MEMORY(TYPE) 0
+#define RETURN_IN_MEMORY(TYPE) (TYPE_MODE (TYPE) == BLKmode)
 #endif
 \f
 /* Optabs are tables saying how to generate insn bodies
This page took 0.02379 seconds and 5 git commands to generate.