aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-11-01 04:24:33 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-11-01 04:24:33 +0000
commit37877eb0a952e2dd17a58e52243a9e99fbb75963 (patch)
tree99181977658147df6d378b2201312846b261c198 /gcc/stmt.c
parent8988b217fbe6f862cc513616ed7fdadb3a78ca40 (diff)
downloadgcc-37877eb0a952e2dd17a58e52243a9e99fbb75963.zip
gcc-37877eb0a952e2dd17a58e52243a9e99fbb75963.tar.gz
gcc-37877eb0a952e2dd17a58e52243a9e99fbb75963.tar.bz2
stmt.c (expand_value_return): Fix typo in this change:
* 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
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 76e5e8b..715f6e0 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -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));