Commit 029f3983 by Jeff Law Committed by Jeff Law

mn10200.c (expand_epilogue): Fix test to determine which scratch register to use.

        * mn10200.c (expand_epilogue): Fix test to determine which scratch
        register to use.

From-SVN: r55369
parent ff27a429
2002-07-10 Jeffrey A Law <law@redhat.com>
* mn10200.c (expand_epilogue): Fix test to determine which scratch
register to use.
Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
* cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
......
......@@ -712,10 +712,8 @@ expand_epilogue ()
size = total_frame_size ();
if (DECL_RESULT (current_function_decl)
&& DECL_RTL (DECL_RESULT (current_function_decl))
&& REG_P (DECL_RTL (DECL_RESULT (current_function_decl))))
temp_regno = (REGNO (DECL_RTL (DECL_RESULT (current_function_decl))) == 4
? 0 : 4);
&& POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl))))
temp_regno = 0;
else
temp_regno = 4;
......
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