Re: [Patch ARM] Fix PR target/19599

2013-05-22 Thread Ramana Radhakrishnan
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57372 A fix is forthcoming - this is a dup of PR57340. Ramana -- Roman

Re: [Patch ARM] Fix PR target/19599

2013-05-17 Thread Ramana Radhakrishnan
On Fri, May 17, 2013 at 9:12 PM, Richard Henderson wrote: > On 05/15/2013 04:50 AM, Ramana Radhakrishnan wrote: >>/* Cannot tail-call to long calls, since these are out of range of >> a branch instruction. */ >> - if (arm_is_long_call_p (decl)) >> + if (decl && arm_is_long_call_p (dec

Re: [Patch ARM] Fix PR target/19599

2013-05-17 Thread Richard Henderson
On 05/15/2013 04:50 AM, Ramana Radhakrishnan wrote: >/* Cannot tail-call to long calls, since these are out of range of > a branch instruction. */ > - if (arm_is_long_call_p (decl)) > + if (decl && arm_is_long_call_p (decl)) > return false; You can tail call long calls via indire

[Patch ARM] Fix PR target/19599

2013-05-15 Thread Ramana Radhakrishnan
Hi, Atlast a fix for this PR which has been on my plate for ages. I've chosen to create a new class for all caller save registers rather than just sticking to maybe a single temporary register as IP_REGNUM on the grounds that this means we have more registers to choose from - we need another