This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: INSN_UID same for two insns?
- From: N V Krishna <nvk at cs dot purdue dot edu>
- To: gcc at gnu dot org
- Date: Wed, 23 Oct 2002 11:56:26 -0500 (EST)
- Subject: Re: INSN_UID same for two insns?
Sorry for the bad code previously; I post again :
for (b=0;b<n_basic_blocks;++b){
insn=BASIC_BLOCK(b)->head;
while (insn){
if (insn==BASIC_BLOCK(b)->end)
break;
insn=next_real_insn(insn);
}
}
#
#
#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
#
#
#
--
Homepage:http://www.cs.purdue.edu/homes/nvk