mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 07:00:05 +08:00
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
This commit is contained in:
parent
ff27a42938
commit
029f3983ab
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user