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]

Re: INSN_UID same for two insns?


#On Wed, Oct 23, 2002 at 11:56:26AM -0500, N V Krishna wrote:
#> 			insn=next_real_insn(insn);
#
#That is your bug.  Use NEXT_INSN.

I am sorry to tell you thatt the same problem exists even with NEXT_INSN.

I have checked the data structure in the debugger :

basic_block_info->data.bb[10]->head
and
basic_block_info->data.bb[10]->end

And then I was checking the instruction in the basic block with

basic_block_info->data.bb[10]->head->fld[2].rtx 
basic_block_info->data.bb[10]->head->fld[2].rtx->fld[2].rtx

etc

And there were many instruction that were jump_insns etc before I reached 
basic_block_info->data.bb[10]->end


Warm regards
Krishna


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