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] Fix DCE REG_LIBCALL note moving from noop move insns (PR rtl-optimization/33644)


On Sun, Oct 14, 2007 at 12:29:44PM -0400, Kenneth Zadeck wrote:
> I have not looked at this bug.  I am happy to if you want.  I am sure
> that it will be trivial to modify the pass that moved/created the insn
> in the middle of the libcall to inherit the LIB_CALL_ID from the
> previous insn. 

That is not desirable, if anything in this case the insn should be
added before the whole libcall sequence rather than before the insn
that actually needs it.  Otherwise, useless insns added to the libcall
sequences wouldn't be ever DCEd.

While it might be easy to modify the instantiate_virtual_regs, there
are dozens of other passes that do similar things, so at least for 4.3 it is
highly unlikely they will be all modified.

	Jakub


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