This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

INSN_UID same for two insns?


Hi,

Is the basic block information available in the final()?

The BASIC_BLOCK(b)->end is sometimes pointing to an instruction in some
other basic block. Or is it that it is just another bug?

I am traversing the instruction in the following way :

        for (b=0;b<n_basic_blocks;++b){
                insn=BASIC_BLOCK(b)->head;
                if (insn==BASIC_BLOCK(b)->end)
                                break;
                insn=next_real_insn(insn);

	}

Warm regards
Krishna




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]