Re: [patch][DF] do not call df_insn_delete in remove_insn, only unlink the insn

2013-04-13 Thread Paolo Bonzini
Il 13/04/2013 02:02, Steven Bosscher ha scritto: > > * emit-rtl.c (remove_insn): Do not call df_insn_delete here. > * cfgrtl.c (delete_insn): Call it here instead. > * lra-spills.c (lra_final_code_change): Use delete_insn. > * haifa-sched.c (sched_remove_insn): Likewise. >

[patch][DF] do not call df_insn_delete in remove_insn, only unlink the insn

2013-04-12 Thread Steven Bosscher
Hello, emit-rtl.c:remove_insn calls df_insn_delete on insns that have not been emitted to the insn chain, and therefore don't have DF cache entries yet. I think it's wrong for remove_insn to call df_insn_delete. delete_insn should be used to completely destroy an insn and all associated data incl