This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ARM: Fix sibcall patterns


> On 29 Nov 2000, Richard Earnshaw wrote:
> 
> >This patch fixes the sibling call patterns on the ARM, so that they can 
> >never match a normal call insn pattern. 
> 
> Unfortunately, it also has the side effect of preventing the lr save from 
> being eliminated, since arm_expand_prologue thinks that lr is live.  A trivial 
> testcase like "int bar(int a) { return foo(a); }" now gives:

Yes, I noticed this as well, just before I left for Xmas; I'll try to 
think up a way of expressing the pattern so that this is avoided.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]