This is the mail archive of the gcc-patches@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: [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)


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