* stmt.c (expand_value_return): Fix typo in this change:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30308 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/stmt.c

index 76e5e8b..715f6e0 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));