mmix.c (mmix_function_value): Set the mode of the returned PARALLEL to that of the return-value, not VOIDmode.

* config/mmix/mmix.c (mmix_function_value): Set the mode of the
	returned PARALLEL to that of the return-value, not VOIDmode.

From-SVN: r194050
This commit is contained in:
Hans-Peter Nilsson 2012-12-02 11:33:16 +00:00 committed by Hans-Peter Nilsson
parent bafa88c236
commit 0a0337cd5a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-02 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.c (mmix_function_value): Set the mode of the
returned PARALLEL to that of the return-value, not VOIDmode.
2012-12-02 Sandra Loosemore <sandra@codesourcery.com>
gcc/

View File

@ -754,7 +754,7 @@ mmix_function_value (const_tree valtype,
gen_rtx_REG (cmode, first_val_regnum + nregs - 1),
const0_rtx);
return gen_rtx_PARALLEL (VOIDmode, gen_rtvec_v (nregs, vec));
return gen_rtx_PARALLEL (mode, gen_rtvec_v (nregs, vec));
}
/* Implements TARGET_LIBCALL_VALUE. */