--- gcc/config/i386/linuxelf.h 2018/04/24 18:17:05 1.1.1.1 +++ gcc/config/i386/linuxelf.h 2018/04/24 18:23:15 1.1.1.2 @@ -21,9 +21,8 @@ } while (0) /* The svr4 ABI for the i386 says that records and unions are returned in memory. */ -#undef RETURN_IN_MEMORY -#define RETURN_IN_MEMORY(TYPE) \ - (TYPE_MODE (TYPE) == BLKmode) +#undef DEFAULT_PCC_STRUCT_RETURN +#define DEFAULT_PCC_STRUCT_RETURN 1 /* This is how to output an element of a case-vector that is relative. This is only used for PIC code. See comments by the `casesi' insn in i386.md for an explanation of the expression this outputs. */