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 ff73026..6fabd84 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 7199c5e..11bdae4 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.  */