Commit 4badc528 by Richard Stallman

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

return a subreg of it (as in gen_lowpart_common).

From-SVN: r6005
parent 3bbe51e7
...@@ -891,6 +891,9 @@ gen_highpart (mode, x) ...@@ -891,6 +891,9 @@ gen_highpart (mode, x)
/ UNITS_PER_WORD); / UNITS_PER_WORD);
#endif #endif
if (REGNO (x) < FIRST_PSEUDO_REGISTER 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. */ /* We want to keep the stack, frame, and arg pointers special. */
&& REGNO (x) != FRAME_POINTER_REGNUM && REGNO (x) != FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM #if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment