This is the mail archive of the gcc-help@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: Doubt regarding INSN_ADDRESSES macro


Meena <meena@acmet.com> writes:

> 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:

INSN_ADDRESS is not set up before the machine dependent reorg pass.
INSN_ADDRESSES_SET_P () should return false.

If you want to use it, you can try calling shorten_branches ()
yourself.

Ian


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