insn appears multiple times

Jim Wilson wilson@tuliptree.org
Mon Mar 17 17:33:00 GMT 2008


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 that we can do things like set flag bits in one without 
accidentally changing the other.

Jim



More information about the Gcc mailing list