Re: do not copy DEBUG_EXPRs in copy_insn

2011-09-16 Thread Jakub Jelinek
On Fri, Sep 16, 2011 at 04:04:54AM -0300, Alexandre Oliva wrote: > from Alexandre Oliva > > * emit-rtl.c (copy_insn_1): Do not copy DEBUG_EXPRs. This is ok. Jakub

do not copy DEBUG_EXPRs in copy_insn

2011-09-16 Thread Alexandre Oliva
copy_rtx avoids duplicating DEBUG_EXPRs, so that they map one-to-one to DEBUG_EXPR_DECLs, but copy_insn lacks these smarts. This was exposed by a patch I'm working on, that uses RTL flags in DEBUG_EXPRs to speed up expansion of var location notes within var-tracking. Regstrapped on i686-pc-linux-