From 02c95ad81239d25a06831249c24147ee1d743349 Mon Sep 17 00:00:00 2001 From: mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon, 1 Nov 1999 04:24:33 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30308 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/stmt.c b/gcc/stmt.c index 76e5e8be9cc2..715f6e0cd69e 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)); -- GitLab