aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2012-12-02 11:33:16 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2012-12-02 11:33:16 +0000
commit0a0337cd5a468c2f56545d5fda57e70fb38c1987 (patch)
tree4a6cbd1e485da52709766701cce242c66918a5ad /gcc
parentbafa88c2369683a92b1fab984a7a410eac3712a5 (diff)
downloadgcc-0a0337cd5a468c2f56545d5fda57e70fb38c1987.zip
gcc-0a0337cd5a468c2f56545d5fda57e70fb38c1987.tar.gz
gcc-0a0337cd5a468c2f56545d5fda57e70fb38c1987.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mmix/mmix.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ff73026..6fabd84 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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/
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 7199c5e..11bdae4 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. */