Re: [patch] Comment in rtl.h how rtx flags are dumped in rtl dumps.

2016-10-12 Thread Bernd Schmidt

On 10/12/2016 01:59 PM, Georg-Johann Lay wrote:

This is a no-op change that just adds comments how the various RTX flags
will appear in RTL dumps.


Ok.


Bernd



[patch] Comment in rtl.h how rtx flags are dumped in rtl dumps.

2016-10-12 Thread Georg-Johann Lay
This is a no-op change that just adds comments how the various RTX flags will 
appear in RTL dumps.



Ok for trunk?

Johann

* rtl.h (struct rtx_def): Comment how RTX_FLAGS will be
dumped in RTL dumps.
Index: rtl.h
===
--- rtl.h	(revision 241033)
+++ rtl.h	(working copy)
@@ -317,12 +317,14 @@ struct GTY((desc("0"), tag("0"),
  1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.c.
  1 in a VALUE is SP_BASED_VALUE_P in cselib.c.
  1 in a SUBREG generated by LRA for reload insns.
- 1 in a CALL for calls instrumented by Pointer Bounds Checker.  */
+ 1 in a CALL for calls instrumented by Pointer Bounds Checker.
+ Dumped as "/j" in RTL dumps.  */
   unsigned int jump : 1;
   /* In a CODE_LABEL, part of the two-bit alternate entry field.
  1 in a MEM if it cannot trap.
  1 in a CALL_INSN logically equivalent to
-   ECF_LOOPING_CONST_OR_PURE and DECL_LOOPING_CONST_OR_PURE_P. */
+   ECF_LOOPING_CONST_OR_PURE and DECL_LOOPING_CONST_OR_PURE_P.
+ Dumped as "/c" in RTL dumps.  */
   unsigned int call : 1;
   /* 1 in a REG, MEM, or CONCAT if the value is set at most once, anywhere.
  1 in a SUBREG used for SUBREG_PROMOTED_UNSIGNED_P.
@@ -333,7 +335,8 @@ struct GTY((desc("0"), tag("0"),
  1 in a JUMP_INSN of an annulling branch.
  1 in a CONCAT is VAL_EXPR_IS_CLOBBERED in var-tracking.c.
  1 in a preserved VALUE is PRESERVED_VALUE_P in cselib.c.
- 1 in a clobber temporarily created for LRA.  */
+ 1 in a clobber temporarily created for LRA.
+ Dumped as "/u" in RTL dumps.  */
   unsigned int unchanging : 1;
   /* 1 in a MEM or ASM_OPERANDS expression if the memory reference is volatile.
  1 in an INSN, CALL_INSN, JUMP_INSN, CODE_LABEL, BARRIER, or NOTE
@@ -344,9 +347,10 @@ struct GTY((desc("0"), tag("0"),
  1 in a LABEL_REF, REG_LABEL_TARGET or REG_LABEL_OPERAND note for a
  non-local label.
  In a SYMBOL_REF, this flag is used for machine-specific purposes.
- In a PREFETCH, this flag indicates that it should be considered a scheduling
- barrier.
- 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.c.  */
+ In a PREFETCH, this flag indicates that it should be considered a
+ scheduling barrier.
+ 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.c.
+ Dumped as "/v" in RTL dumps.  */
   unsigned int volatil : 1;
   /* 1 in a REG if the register is used only in exit code a loop.
  1 in a SUBREG expression if was generated from a variable with a
@@ -360,7 +364,8 @@ struct GTY((desc("0"), tag("0"),
  cleared before used.
 
  The name of the field is historical.  It used to be used in MEMs
- to record whether the MEM accessed part of a structure.  */
+ to record whether the MEM accessed part of a structure.
+ Dumped as "/s" in RTL dumps.  */
   unsigned int in_struct : 1;
   /* At the end of RTL generation, 1 if this rtx is used.  This is used for
  copying shared structure.  See `unshare_all_rtl'.
@@ -377,13 +382,15 @@ struct GTY((desc("0"), tag("0"),
  1 in a REG or MEM if it is a pointer.
  1 in a SYMBOL_REF if it addresses something in the per-function
  constant string pool.
- 1 in a VALUE is VALUE_CHANGED in var-tracking.c.  */
+ 1 in a VALUE is VALUE_CHANGED in var-tracking.c.
+ Dumped as "/f" in RTL dumps.  */
   unsigned frame_related : 1;
   /* 1 in a REG or PARALLEL that is the current function's return value.
  1 in a SYMBOL_REF for a weak symbol.
  1 in a CALL_INSN logically equivalent to ECF_PURE and DECL_PURE_P.
  1 in a CONCAT is VAL_EXPR_HAS_REVERSE in var-tracking.c.
- 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.c.  */
+ 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.c.
+ Dumped as "/i" in RTL dumps.  */
   unsigned return_val : 1;
 
   union {