Re: Allow more PowerPC sibling calls

2011-04-21 Thread Alan Modra
On Mon, Apr 18, 2011 at 10:29:17AM -0700, Nathan Froyd wrote: Could I request that you use FOREACH_FUNCTION_ARGS in these two cases? The conversion is trivial, and avoiding more exposed TYPE_ARG_TYPES calls is a good thing. Committed revision 172855. -- Alan Modra Australia Development Lab,

Re: Allow more PowerPC sibling calls

2011-04-21 Thread Alan Modra
On Fri, Apr 22, 2011 at 01:29:14PM +0930, Alan Modra wrote: On Mon, Apr 18, 2011 at 10:29:17AM -0700, Nathan Froyd wrote: Could I request that you use FOREACH_FUNCTION_ARGS in these two cases? The conversion is trivial, and avoiding more exposed TYPE_ARG_TYPES calls is a good thing.

Re: Allow more PowerPC sibling calls

2011-04-18 Thread David Edelsohn
On Fri, Apr 8, 2011 at 10:51 PM, Alan Modra amo...@gmail.com wrote: This patch enables sibling calls for powerpc in a few more cases, and fixes bugs exposed by that change.  We now a) Allow sibling calls via function pointer.  At the time   rs6000_function_ok_for_sibcall was written, I don't

Re: Allow more PowerPC sibling calls

2011-04-18 Thread Nathan Froyd
On Sat, Apr 09, 2011 at 12:21:46PM +0930, Alan Modra wrote: a) Allow sibling calls via function pointer. At the time rs6000_function_ok_for_sibcall was written, I don't think access to arg types of function pointer calls was available in the target hook/macro. + /* Functions