mmix.c (mmix_function_value): Set the mode of the returned PARALLEL to that of the...
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 2 Dec 2012 11:33:16 +0000 (11:33 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 2 Dec 2012 11:33:16 +0000 (11:33 +0000)
* 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
gcc/config/mmix/mmix.c

index ff73026b90660f7faff06f0b2c0a10503a704a68..6fabd84bd96e367aa28409cd359037717a93350b 100644 (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/
index 7199c5edc2ca6f5fc6c8cdc3ccc633d65c2f99ac..11bdae4df30b19473dedb2ef816684099233fa19 100644 (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.  */