[PATCH] checking version of rtl flag access macros

John David Anglin dave@hiauly1.hia.nrc.ca
Wed May 8 14:48:00 GMT 2002


> > /* 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)



More information about the Gcc-patches mailing list