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] RTL docs update


On 02 Jul 2007 13:02:28 -0700, Ian Lance Taylor <iant@google.com> wrote:
"Seongbae Park (박성배, 朴成培)" <seongbae.park@gmail.com> writes:

> Index: rtl.def
> ===================================================================
> --- rtl.def   (revision 126222)
> +++ rtl.def   (working copy)
> @@ -212,8 +212,15 @@ DEF_RTL_EXPR(ASM_OPERANDS, "asm_operands
>       operations is to be performed.
>     (Note that the vector must be the first operand because of the way that
>     genrecog.c record positions within an insn.)
> -   This can occur all by itself in a PATTERN, as a component of a PARALLEL,
> -   or inside an expression.  */
> +
> +   UNSPEC can occur all by itself in a PATTERN, as a component of a PARALLEL,
> +   or inside an expression.
> +   UNSPEC by itself or as a component of a PARALLEL
> +   is currently considered not deletable.
> +
> +   FIXME: Replace all uses of UNSPEC that appears by itself or as a component
> +   of a PARALLEL with USE.
> +   */


It occurs to me that we may want to put some or all of this in doc/rtl.texi.

Ian

I was hoping that I can come up with some way to avoid duplication between rtx section of rtl.texi and comments in rtl.def i.e. some way to extract formatted comments from rtl.def and automagically generate rtl.texi (or some html page at least). But I haven't found any existing tool that would meet this goal yet.

Regardless, I'll send out a separate patch for rtl.texi as well,
once we agree on the change for rtl.def.
--
#pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";

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