This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Doubt regarding INSN_ADDRESSES macro
- From: Ian Lance Taylor <iant at google dot com>
- To: meena at acmet dot com
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 06 Jan 2010 07:55:11 -0800
- Subject: Re: Doubt regarding INSN_ADDRESSES macro
- References: <1262768615.11122.63.camel@meena-laptop>
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