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: rename x86 pic register


On Wed, May 29, 2002 at 05:26:37PM -0400, Jakub Jelinek wrote:
> Shouldn't it apply to non-leaf functions which call only static/module local
> functions as well?

No.  The pic register may be alive across that call, which would make it
require a call-saved register.  At which point we might as well use ebx.

Note that functions with sibcalls are still considered leaf functions.


r~


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