* mn10200.c (expand_epilogue): Fix test to determine which scratch
register to use.
From-SVN: r55369
+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.
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;