Commit efc97ef0 by David Edelsohn

rs6000.c (output_mi_thunk): Improve test for local branch.

	* rs6000.c (output_mi_thunk): Improve test for local branch.
	* rs6000.c (output_mi_thunk): Correct test for aggregate values.

From-SVN: r23676
parent dfe96118
Mon Nov 16 17:56:07 1998 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000.c (output_mi_thunk): Improve test for local branch.
Mon Nov 16 17:56:07 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (output_mi_thunk): Correct test for aggregate values.
Mon Nov 16 21:02:52 1998 J"orn Rennecke <amylaar@cygnus.co.uk> Mon Nov 16 21:02:52 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (reload_reg_free_before_p): Delete. * reload1.c (reload_reg_free_before_p): Delete.
...@@ -5350,7 +5358,7 @@ Sun Aug 16 01:53:21 1998 Richard Henderson <rth@cygnus.com> ...@@ -5350,7 +5358,7 @@ Sun Aug 16 01:53:21 1998 Richard Henderson <rth@cygnus.com>
* reload.c (find_equiv_reg): Reject equivalences separated * reload.c (find_equiv_reg): Reject equivalences separated
by a volatile instruction. by a volatile instruction.
Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define. * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
......
...@@ -4474,7 +4474,7 @@ output_mi_thunk (file, thunk_fndecl, delta, function) ...@@ -4474,7 +4474,7 @@ output_mi_thunk (file, thunk_fndecl, delta, function)
int delta; int delta;
tree function; tree function;
{ {
char *this_reg = reg_names[ aggregate_value_p (TREE_TYPE (function)) ? 3 : 4 ]; char *this_reg = reg_names[ aggregate_value_p (TREE_TYPE (TREE_TYPE (function))) ? 4 : 3 ];
char *r0 = reg_names[0]; char *r0 = reg_names[0];
char *sp = reg_names[1]; char *sp = reg_names[1];
char *toc = reg_names[2]; char *toc = reg_names[2];
...@@ -4559,7 +4559,7 @@ output_mi_thunk (file, thunk_fndecl, delta, function) ...@@ -4559,7 +4559,7 @@ output_mi_thunk (file, thunk_fndecl, delta, function)
fprintf (file, "\n"); fprintf (file, "\n");
#else #else
if (TREE_ASM_WRITTEN (function) if (current_file_function_operand (XEXP (DECL_RTL (function), 0))
&& !lookup_attribute ("longcall", TYPE_ATTRIBUTES (TREE_TYPE (function)))) && !lookup_attribute ("longcall", TYPE_ATTRIBUTES (TREE_TYPE (function))))
{ {
fprintf (file, "\tb %s", prefix); fprintf (file, "\tb %s", prefix);
......
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