From 0a0337cd5a468c2f56545d5fda57e70fb38c1987 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 2 Dec 2012 11:33:16 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mmix/mmix.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff73026b906..6fabd84bd96 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-02 Hans-Peter Nilsson + + * 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 gcc/ diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 7199c5edc2c..11bdae4df30 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -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. */ -- 2.30.2