[rfc] Expose more tailcall opportunities (PR
Diego Novillo
dnovillo@redhat.com
Wed Jul 20 01:51:00 GMT 2005
On Wed, Jul 20, 2005 at 01:26:29AM +0200, Steven Bosscher wrote:
> GCC currently doesn't produce a tail call for this, but it could.
> With the attached patch, tree-tailcall can see that even though
> b is addressable, b is not call clobbered. That means, iiuc, that
> its address doesn't escape either. Does this patch make sense?
>
Yes. TREE_ADDRESSABLE + is_call_clobbered ==> address escapes.
More information about the Gcc-patches
mailing list