(gen_highpart): If arg is function value hard reg,

return a subreg of it (as in gen_lowpart_common).

From-SVN: r6005
This commit is contained in:
Richard Stallman 1993-11-05 06:56:12 +00:00
parent 3bbe51e708
commit 4badc528d3
1 changed files with 3 additions and 0 deletions

View File

@ -891,6 +891,9 @@ gen_highpart (mode, x)
/ UNITS_PER_WORD);
#endif
if (REGNO (x) < FIRST_PSEUDO_REGISTER
/* integrate.c can't handle parts of a return value register. */
&& (! REG_FUNCTION_VALUE_P (x)
|| ! rtx_equal_function_value_matters)
/* We want to keep the stack, frame, and arg pointers special. */
&& REGNO (x) != FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM