insn appears multiple times

2008-03-17 Thread Boris Boesler
Hi! For my architecture with 4 branch delay slots I get the following RTL in my target dependent reorg pass: (insn 966 361 364 ../src/XXX.c:1666 (sequence [ (jump_insn 362 361 381 ../src/XXX.c:1666 (set (pc) (if_then_else (ne (reg:CC 49 CONDSEL)

Re: insn appears multiple times

2008-03-17 Thread Jim Wilson
Boris Boesler wrote: insn 381 appears in the delay slot and later in another basic block (but same function). These insns are equal but they are not the same, two disjunct pieces of memory. Is this possible? Yes. Reorg calls copy_rtx to avoid having shared RTL. Unsharing the insns means