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]
Other format: [Raw text]

Re: [Patch ARM] Fix PR19599


On Thu, Aug 06, 2009 at 12:01:21PM +0100, Ramana Radhakrishnan wrote:
> +  /* If we are interworking and the function is not declared static
> +     then we can't tail-call it unless we know that it exists in this
> +     compilation unit (since it might be a Thumb routine).  This check
> +     will be unnecessary with binutils 2.20 which can handle 
> +     interworking between ARM and Thumb state functions within the
> +     same compilation unit. */

The comment talks about "within the same compilation unit" ...

> +  if (TARGET_INTERWORK && (decl != NULL_TREE) &&
> +      !targetm.binds_local_p (decl))

... the check is "potentially in another compilation unit".  Which is
right?  Also, what's the binutils problem?

-- 
Daniel Jacobowitz
CodeSourcery


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