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: [PARCH 2/2, x86, PR63534] Fix darwin bootstrap


On Fri, Oct 17, 2014 at 06:16:41PM +0400, Evgeny Stupachenko wrote:
> Hi,
> 
> Some instructions (like one in PR63534) could have hidden use of PIC register.
> Therefore we need to leave SET_GOT not deleted till reload completed.
> The patch prevents SET_GOT from deleting while PIC register is pseudo.

Just curious, do you emit the init_pic_reg unconditionally at the start of
the function in -fpic mode?  What does IRA do in that case, if it sees
a dead setter of something that doesn't seem to be used at that point?
Doesn't it penalize generated code, even if we don't end up with any PIC
references during/after reload?

	Jakub


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