Re: Dividing an array into subgroups?
Re: Dividing an array into subgroups?
- Subject: Re: Dividing an array into subgroups?
- From: Andrew Pinski <email@hidden>
- Date: Tue, 17 Jun 2003 00:47:54 -0400
It almost always works but sometime when there is dead code after the
call but
before the return it does not. It will always work with return
function() or
return [self message]. The only other time it will not work (I know
of) is if you use
altivec registers. Also in the Apple's version of gcc it will optimize
indirect
sib calls but the FSF's gcc does not.
Thanks,
Andrew Pinski
On Tuesday, Jun 17, 2003, at 00:42 US/Eastern, Michael Tsai wrote:
On Monday, June 16, 2003, at 11:54 PM, Andrew Pinski wrote:
gcc does optimize sib calls so that tail calls will be optimize
like any other sib calls so the stacksize will not grow too big.
Cool, I just checked with -S and indeed it worked. Thanks. Do you know
if it always works? I found some old mailing list posts saying that
gcc could only apply -foptimize-sibling-calls some of the time.
--
Michael Tsai <http://www.c-command.com>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.