Sorry, I forgot to mention the problem faced. I am getting segmentation fault on using INSN_ADDRESSES as mentioned below. -------- Forwarded Message -------- From: Meena <meena@xxxxxxxxx> Reply-to: meena@xxxxxxxxx To: gcc-help <gcc-help@xxxxxxxxxxx> Subject: Doubt regarding INSN_ADDRESSES macro Date: Wed, 06 Jan 2010 14:33:35 +0530 Hi, I have a doubt regarding INSN_ADDRESSES macro. As per my understanding, this macro should written the pseudo address assigned to any instruction. However, when I am trying to use this macro during machine dependent re-organization pass as shown below: ---snip--- int LoopStartAddress = INSN_ADDRESSES(INSN_UID(loop->start_label)); int LoopEndAddress = INSN_ADDRESSES(INSN_UID(loop->end_label)); if( (LoopEndAddress - LoopStartAddress) == 1) { printf("Single Instruction"); } else { printf("Multiple Instructions"); } ---snip--- Am I using the macro correctly? Is there any constraint in using this macro? Thanks and Regards, Meena