]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stmt.c (expand_value_return): Fix typo in this change:
authorMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)
* stmt.c (expand_value_return): Fix typo in this change:

Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
(expand_value_return): Correctly convert VAL when promoting function
return; support RETURN_REG being a PARALLEL.

From-SVN: r30308

gcc/stmt.c

index 76e5e8be9cc23f50db4c04e909cac814c1cfe412..715f6e0cd69e83c3d80f9a45a0ae34faa33a3a1c 100644 (file)
@@ -2692,8 +2692,8 @@ expand_value_return (val)
 
   if (return_reg != val)
     {
-#ifdef PROMOTE_FUNCTION_RETURN
       tree type = TREE_TYPE (DECL_RESULT (current_function_decl));
+#ifdef PROMOTE_FUNCTION_RETURN
       int unsignedp = TREE_UNSIGNED (type);
       enum machine_mode old_mode
        = DECL_MODE (DECL_RESULT (current_function_decl));