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 006/236] Introduce rtx_insn subclass of rtx_def


On Tue, 2014-08-12 at 15:06 -0600, Jeff Law wrote:
> On 08/06/14 11:19, David Malcolm wrote:
> > gcc/
> > 	* coretypes.h (class rtx_insn): Add forward declaration.
> >
> > 	* rtl.h: Include is-a.h
> > 	(struct rtx_def): Add dummy "desc" and "tag" GTY options as a
> > 	workaround to ensure gengtype knows inheritance is occurring,
> > 	whilst continuing to use the pre-existing special-casing for
> > 	rtx_def.
> > 	(class rtx_insn): New subclass of rtx_def, adding the
> > 	invariant that we're dealing with something we can sanely use INSN_UID,
> > 	NEXT_INSN, PREV_INSN on.
> > 	(is_a_helper <rtx_insn *>::test): New.
> > 	(is_a_helper <const rtx_insn *>::test): New.
> OK.
> Jeff

Thanks; committed to trunk as r214118 (fixing up the overlong ChangeLog
line, having bootstrapped&regtested on x86_64 together with patches 2-8
of the kit as per:
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01420.html
and verified build by itself).


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