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: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gnu dot org
- Date: Wed, 23 Oct 2002 12:08:25 -0500 (EST)
- Subject: 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