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



On Tuesday, May 28, 2002, at 06:43 PM, Richard Henderson wrote:

> The unfortunate thing about current_function_uses_pic_offset_table
> is that it is set, but never reset after dead code is removed.

I've noticed this on ppc and have been thinking about ways to fix it.
Wouldn't it be better to do this in target-independent fashion?
Say, make a pass through the RTL towards the end and recompute
current_function_uses_pic_offset_table correctly?


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