Re: question about target info cache in resource.c

2011-01-11 Thread Ian Lance Taylor
Tom de Vries writes: > The following fix makes sure that the cached live info is invalidated: > ... > @@ -1865,6 +1880,7 @@ redundant_insn (rtx insn, rtx target, rt > { > /* Show that this insn will be used in the sequel. */ > INSN_FROM_TARGET_P (can

question about target info cache in resource.c

2011-01-11 Thread Tom de Vries
Hi all, I would like to know if the attached patch resource-check.patch is a good sanity check or not. I have been working in reorg.c and running into trouble with the target info cache in mark_target_live_regs, so I decided to write a patch that checks consistency between cached values and recom