This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] checking version of rtl flag access macros
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: janis187 at us dot ibm dot com (Janis Johnson)
- Cc: janis187 at us dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 May 2002 17:28:14 -0400 (EDT)
- Subject: Re: [PATCH] checking version of rtl flag access macros
> > /* 1 if RTX is a annulled branch insn. */
>
> But it's not an annulled branch insn, it's an insn in the delay slot of
> such a branch.
Take a look at the usage of INSN_ANNULLED_BRANCH_P in pa/pa.md. It's
used to check whether a branch should be annulled or not.
> Each of the eight RTL flags is used for multiple purposes. It seems
The INSN_ANNULLED_BRANCH_P and INSN_FROM_TARGET_P apply to active insns
as determined by active_insn_p. It appears the usage of the unchanging
flag changes with compiler pass :-(
Maybe these two macros shouldn't be checked.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)