function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as needed.

* function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
        needed.

From-SVN: r30519
This commit is contained in:
Jeffrey A Law 1999-11-13 03:54:56 +00:00 committed by Jeff Law
parent 283bd699e3
commit 2cfcc23e7f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
* function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
needed.
Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro

View File

@ -6212,6 +6212,7 @@ diddle_return_value (code)
register in the USE/CLOBBER insn. */
return_reg = hard_function_value (TREE_TYPE (decl_result),
current_function_decl);
REG_FUNCTION_VALUE_P (return_reg) = 1;
emit_insn (gen_rtx_fmt_e (code, VOIDmode, return_reg));
}
else if (GET_CODE (return_reg) == PARALLEL)