PATCH: rs6000 sibling calls

Richard Henderson rth@redhat.com
Thu Aug 8 14:09:00 GMT 2002


On Wed, Aug 07, 2002 at 03:02:22PM -0700, Dale Johannesen wrote:
> +       if (DEFAULT_ABI == ABI_DARWIN
> +             || TREE_ASM_WRITTEN (fndecl) || !TREE_PUBLIC (fndecl))
> +         return 1;
[...]
> +   return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"b %z0@local\" : \"b %z0\";

The @local means that you cannot generate a sibcall to a function
for which targetm.binds_local_p is false.



r~



More information about the Gcc-patches mailing list